update for metadata tags
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Feb 2012 10:38:59 +0000 (11:38 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Feb 2012 10:38:59 +0000 (11:38 +0100)
sys/v4l2/gstv4l2bufferpool.c
sys/ximage/ximageutil.c

index 10f2933..6c77cec 100644 (file)
@@ -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;
 }
index 47d6d48..84cc01a 100644 (file)
@@ -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;
 }