gstframepositionner: correctly tag metadata.
authorMathieu Duponchelle <mathieu.duponchelle@epitech.eu>
Thu, 22 Aug 2013 21:06:38 +0000 (23:06 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 4 Sep 2013 00:57:31 +0000 (20:57 -0400)
We do not use GST_VIDEO_META_TAG_STR as it would mean depending on
GstVideo which is not the case right now

ges/gstframepositionner.c

index 22a6431..7ae25d8 100644 (file)
@@ -22,6 +22,7 @@
 #endif
 
 #include <gst/gst.h>
+#include <gst/video/video.h>
 
 #include "gstframepositionner.h"
 
@@ -384,7 +385,7 @@ GType
 gst_frame_positionner_meta_api_get_type (void)
 {
   static volatile GType type;
-  static const gchar *tags[] = { "alpha", "posx", "posy", "zorder", NULL };
+  static const gchar *tags[] = { "video", NULL };
 
   if (g_once_init_enter (&type)) {
     GType _type = gst_meta_api_type_register ("GstFramePositionnerApi", tags);