From c941db0c2ed49978288af82e6b5fafe53c6364a2 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 28 Aug 2019 16:11:12 +1000 Subject: [PATCH] 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." ^ --- sys/androidmedia/gstahcsrc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/androidmedia/gstahcsrc.c b/sys/androidmedia/gstahcsrc.c index 7c6d7b1723..4519aee70c 100644 --- a/sys/androidmedia/gstahcsrc.c +++ b/sys/androidmedia/gstahcsrc.c @@ -67,6 +67,7 @@ #endif #include +#define GST_USE_UNSTABLE_API #include #include "gstjniutils.h"