diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c index 10f29336ed..6c77cec422 100644 --- a/sys/v4l2/gstv4l2bufferpool.c +++ b/sys/v4l2/gstv4l2bufferpool.c @@ -61,12 +61,13 @@ const GstMetaInfo * gst_v4l2_meta_get_info (void) { static const GstMetaInfo *meta_info = NULL; + static const gchar *tags[] = { "memory" }; if (meta_info == NULL) { meta_info = gst_meta_register ("GstV4l2Meta", "GstV4l2Meta", sizeof (GstV4l2Meta), (GstMetaInitFunction) NULL, - (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL); + (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL, tags); } return meta_info; } diff --git a/sys/ximage/ximageutil.c b/sys/ximage/ximageutil.c index 47d6d48570..84cc01a5ae 100644 --- a/sys/ximage/ximageutil.c +++ b/sys/ximage/ximageutil.c @@ -27,12 +27,13 @@ const GstMetaInfo * gst_meta_ximage_get_info (void) { static const GstMetaInfo *meta_ximage_info = NULL; + static const gchar *tags[] = { "memory", NULL }; if (meta_ximage_info == NULL) { meta_ximage_info = gst_meta_register ("GstMetaXImageSrc", "GstMetaXImageSrc", sizeof (GstMetaXImage), (GstMetaInitFunction) NULL, - (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL); + (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL, tags); } return meta_ximage_info; }