Compile with GStreamer < 1.16.

[GB.MEDIA]
* BUG: Compile with GStreamer < 1.16.
This commit is contained in:
gambas 2019-03-28 00:07:05 +01:00
parent 663e0a4347
commit a247c14d24

View file

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