update for metadata tags
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Feb 2012 10:39:18 +0000 (11:39 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Feb 2012 11:10:18 +0000 (12:10 +0100)
gst-libs/gst/video/gstsurfacemeta.c

index 01579aa..9aee7b6 100644 (file)
@@ -49,12 +49,13 @@ const GstMetaInfo *
 gst_surface_meta_get_info (void)
 {
   static const GstMetaInfo *meta_info = NULL;
+  static const gchar *tags[] = { "memory" };
 
   if (meta_info == NULL) {
     meta_info = gst_meta_register ("GstSurfaceMeta", "GstSurfaceMeta",
         sizeof (GstSurfaceMeta),
         (GstMetaInitFunction) NULL,
-        (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL);
+        (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL, tags);
   }
   return meta_info;
 }