Compile with GStreamer < 1.16.
[GB.MEDIA] * BUG: Compile with GStreamer < 1.16.
This commit is contained in:
parent
663e0a4347
commit
a247c14d24
1 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,13 @@
|
|||
#include <gst/video/video.h>
|
||||
#include <gst/video/videooverlay.h>
|
||||
|
||||
#if GST_CHECK_VERSION(1, 16, 0)
|
||||
#else
|
||||
#define GST_SEEK_FLAG_TRICKMODE GST_SEEK_FLAG_SKIP
|
||||
#define GST_SEEK_FLAG_TRICKMODE_KEY_UNITS (1 << 7)
|
||||
#define GST_SEEK_FLAG_TRICKMODE_NO_AUDIO (1 << 8)
|
||||
#endif
|
||||
|
||||
static void *_from_element = NULL;
|
||||
|
||||
void MEDIA_raise_event(void *_object, int event)
|
||||
|
|
Loading…
Reference in a new issue