From 935675a0608017fe91d5ad291afbda9bded0c52f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 11 Mar 2011 14:37:06 +0100 Subject: [PATCH] diracparse: Add correct template caps and element details --- gst/videoparsers/gstdiracparse.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gst/videoparsers/gstdiracparse.c b/gst/videoparsers/gstdiracparse.c index 00130f8fef..562fdba9cc 100644 --- a/gst/videoparsers/gstdiracparse.c +++ b/gst/videoparsers/gstdiracparse.c @@ -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 "); + gst_element_class_set_details_simple (element_class, "Dirac parser", + "Codec/Parser/Video", "Parses Dirac streams", + "David Schleef "); } static void -- 2.34.1