Zebediah Figura : winegstreamer: Move the GstAutoplugSelectResult definition to wg_parser.c.

Alexandre Julliard julliard at winehq.org
Fri Oct 1 18:02:23 CDT 2021


Module: wine
Branch: master
Commit: 959bc42892a6dcce17302cd6fc2d53538a20f018
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=959bc42892a6dcce17302cd6fc2d53538a20f018

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Fri Oct  1 17:18:08 2021 -0500

winegstreamer: Move the GstAutoplugSelectResult definition to wg_parser.c.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winegstreamer/gst_private.h | 7 -------
 dlls/winegstreamer/wg_parser.c   | 7 +++++++
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/winegstreamer/gst_private.h b/dlls/winegstreamer/gst_private.h
index 49e06b31369..923bba25d38 100644
--- a/dlls/winegstreamer/gst_private.h
+++ b/dlls/winegstreamer/gst_private.h
@@ -36,13 +36,6 @@
 #include "wine/debug.h"
 #include "wine/strmbase.h"
 
-typedef enum
-{
-    GST_AUTOPLUG_SELECT_TRY,
-    GST_AUTOPLUG_SELECT_EXPOSE,
-    GST_AUTOPLUG_SELECT_SKIP,
-} GstAutoplugSelectResult;
-
 static inline const char *debugstr_time(REFERENCE_TIME time)
 {
     ULONGLONG abstime = time >= 0 ? time : -time;
diff --git a/dlls/winegstreamer/wg_parser.c b/dlls/winegstreamer/wg_parser.c
index f0815e37689..dde137ef186 100644
--- a/dlls/winegstreamer/wg_parser.c
+++ b/dlls/winegstreamer/wg_parser.c
@@ -34,6 +34,13 @@
 #include <gst/video/video.h>
 #include <gst/audio/audio.h>
 
+typedef enum
+{
+    GST_AUTOPLUG_SELECT_TRY,
+    GST_AUTOPLUG_SELECT_EXPOSE,
+    GST_AUTOPLUG_SELECT_SKIP,
+} GstAutoplugSelectResult;
+
 /* GStreamer callbacks may be called on threads not created by Wine, and
  * therefore cannot access the Wine TEB. This means that we must use GStreamer
  * debug logging instead of Wine debug logging. In order to be safe we forbid




More information about the wine-cvs mailing list