v4l2: Use newly #defined metadata names.
authorMathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Wed, 21 Aug 2013 22:03:48 +0000 (00:03 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 9 Sep 2013 13:39:17 +0000 (15:39 +0200)
sys/v4l2/gstv4l2bufferpool.c

index 352006c..deb6d6f 100644 (file)
@@ -63,7 +63,8 @@ GType
 gst_v4l2_meta_api_get_type (void)
 {
   static volatile GType type;
-  static const gchar *tags[] = { "memory", NULL };
+  static const gchar *tags[] =
+      { GST_META_TAG_VIDEO_STR, GST_META_TAG_MEMORY_STR, NULL };
 
   if (g_once_init_enter (&type)) {
     GType _type = gst_meta_api_type_register ("GstV4l2MetaAPI", tags);