libs: codecparser: add missing unstable api warning

mpeg4 and vp8 parsers didn't show that compilation warning as the
others parsers.
This commit is contained in:
Victor Manuel Jaquez Leal 2020-03-16 17:19:04 +01:00 committed by Víctor Manuel Jáquez Leal
parent 158a2b3fd1
commit efcabce98e
2 changed files with 10 additions and 0 deletions

View file

@ -24,6 +24,11 @@
#include <gst/gst.h>
#include <gst/codecparsers/codecparsers-prelude.h>
#ifndef GST_USE_UNSTABLE_API
#warning "The MPEG4 parsing library is unstable API and may change in future."
#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
#endif
G_BEGIN_DECLS
typedef struct _GstMpeg4VisualObjectSequence GstMpeg4VisualObjectSequence;

View file

@ -27,6 +27,11 @@
#include <gst/gst.h>
#include <gst/codecparsers/codecparsers-prelude.h>
#ifndef GST_USE_UNSTABLE_API
#warning "The VP8 parsing library is unstable API and may change in future."
#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
#endif
G_BEGIN_DECLS
typedef struct _GstVp8FrameHdr GstVp8FrameHdr;