[PATCH 1/5] winegstreamer: Move the GstAutoplugSelectResult definition to wg_parser.c.

Zebediah Figura zfigura at codeweavers.com
Fri Oct 1 17:18:08 CDT 2021


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 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
-- 
2.33.0




More information about the wine-devel mailing list