mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
diracparse: Add correct template caps and element details
This commit is contained in:
parent
58ca26b0a4
commit
935675a060
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue