summaryrefslogtreecommitdiff
path: root/tests/examples
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2017-10-03 17:14:53 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2017-10-03 17:17:50 -0400
commit25dee2f2cb21d3fdd78b121f194f2424b64147c0 (patch)
tree5db994dfbf46a35ea4741dc73464d32499d92e59 /tests/examples
parent47fd4d391e775c11f529705bb0f457a9d25ba5e7 (diff)
downloadgstreamer-plugins-bad-25dee2f2cb21d3fdd78b121f194f2424b64147c0.tar.gz
tsparses: Define GST_USE_UNSTABLE_API
This example is entirely based on unstable API, this avoids the expected compilation warning.
Diffstat (limited to 'tests/examples')
-rw-r--r--tests/examples/mpegts/ts-parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/examples/mpegts/ts-parser.c b/tests/examples/mpegts/ts-parser.c
index 3cfb90c8a..57a954c86 100644
--- a/tests/examples/mpegts/ts-parser.c
+++ b/tests/examples/mpegts/ts-parser.c
@@ -30,6 +30,8 @@
#include <glib-object.h>
#include <glib/gprintf.h>
#include <gst/gst.h>
+
+#define GST_USE_UNSTABLE_API
#include <gst/mpegts/mpegts.h>
static void