winegstreamer: Move the GstAutoplugSelectResult definition to wg_parser.c.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-10-01 17:18:08 -05:00 committed by Alexandre Julliard
parent 9a9468ccc0
commit 959bc42892
2 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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