ahcsrc: #define GST_USE_UNSTABLE_API for phtography inteface

Fixes werror build:

In file included from ../sys/androidmedia/gstahcsrc.c:70:
../gst-libs/gst/interfaces/photography.h:27:2: error: "The GstPhotography interface is unstable API and may change in future." [-Werror,-W#warnings]
#warning "The GstPhotography interface is unstable API and may change in future."
 ^
../gst-libs/gst/interfaces/photography.h:28:2: error: "You can define GST_USE_UNSTABLE_API to avoid this warning."  [-Werror,-W#warnings]
#warning "You can define GST_USE_UNSTABLE_API to avoid this warning."
 ^
This commit is contained in:
Matthew Waters 2019-08-28 16:11:12 +10:00
parent 278039be06
commit c941db0c2e

View file

@ -67,6 +67,7 @@
#endif
#include <gst/video/video.h>
#define GST_USE_UNSTABLE_API
#include <gst/interfaces/photography.h>
#include "gstjniutils.h"