mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
meson: Define GST_USE_UNSTABLE_API in the build system
This way meson and autotools both do the same thing and we don't need to modify the code after all.
This commit is contained in:
parent
5edd068e30
commit
1cf1aac9a7
2 changed files with 1 additions and 6 deletions
|
@ -3,5 +3,5 @@ executable('tsparser',
|
|||
install: true,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstmpegts_dep],
|
||||
c_args : ['-DHAVE_CONFIG_H=1' ],
|
||||
c_args : ['-DHAVE_CONFIG_H=1', '-DGST_USE_UNSTABLE_API' ],
|
||||
)
|
||||
|
|
|
@ -30,11 +30,6 @@
|
|||
#include <glib-object.h>
|
||||
#include <glib/gprintf.h>
|
||||
#include <gst/gst.h>
|
||||
|
||||
#ifndef GST_USE_UNSTABLE_API
|
||||
#define GST_USE_UNSTABLE_API
|
||||
#endif
|
||||
|
||||
#include <gst/mpegts/mpegts.h>
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue