diracparse: Add correct template caps and element details
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 11 Mar 2011 13:37:06 +0000 (14:37 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 11 Mar 2011 13:37:06 +0000 (14:37 +0100)
gst/videoparsers/gstdiracparse.c

index 00130f8..562fdba 100644 (file)
@@ -77,14 +77,14 @@ static GstStaticPadTemplate gst_dirac_parse_sink_template =
 GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("application/unknown")
+    GST_STATIC_CAPS ("video/x-dirac, parsed=(boolean)FALSE")
     );
 
 static GstStaticPadTemplate gst_dirac_parse_src_template =
 GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
-    GST_STATIC_CAPS ("application/unknown")
+    GST_STATIC_CAPS ("video/x-dirac, parsed=(boolean)TRUE")
     );
 
 /* class initialization */
@@ -102,8 +102,9 @@ gst_dirac_parse_base_init (gpointer g_class)
   gst_element_class_add_pad_template (element_class,
       gst_static_pad_template_get (&gst_dirac_parse_sink_template));
 
-  gst_element_class_set_details_simple (element_class, "FIXME",
-      "Generic", "FIXME", "David Schleef <ds@schleef.org>");
+  gst_element_class_set_details_simple (element_class, "Dirac parser",
+      "Codec/Parser/Video", "Parses Dirac streams",
+      "David Schleef <ds@schleef.org>");
 }
 
 static void