diracparse: Add correct template caps and element details

This commit is contained in:
Sebastian Dröge 2011-03-11 14:37:06 +01:00
parent 58ca26b0a4
commit 935675a060

View 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