mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
subparsers: Give proper category to subtitle "decoders"
Some subtitle "decoders" had a wrong category of "Parser", which `parsebin` relies on to identify elements which do not *decode* streams but *parse* them. This would cause such subtitle decoders to be plugged in within parsebin, preventing the original stream to be properly used by (more efficient) downstream decoders or subtitle renderers. Fixes #1757 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6153>
This commit is contained in:
parent
bf4cf0d9c1
commit
34a1245905
5 changed files with 6 additions and 6 deletions
|
@ -241374,7 +241374,7 @@
|
|||
"GInitiallyUnowned",
|
||||
"GObject"
|
||||
],
|
||||
"klass": "Codec/Parser/Subtitle",
|
||||
"klass": "Codec/Decoder/Subtitle",
|
||||
"long-name": "TTML subtitle parser",
|
||||
"pad-templates": {
|
||||
"sink": {
|
||||
|
|
|
@ -129,7 +129,7 @@ gst_ttml_parse_class_init (GstTtmlParseClass * klass)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&src_templ));
|
||||
gst_element_class_set_static_metadata (element_class,
|
||||
"TTML subtitle parser", "Codec/Parser/Subtitle",
|
||||
"TTML subtitle parser", "Codec/Decoder/Subtitle",
|
||||
"Parses TTML subtitle files",
|
||||
"GStreamer maintainers <gstreamer-devel@lists.sourceforge.net>, "
|
||||
"Chris Bass <dash@rd.bbc.co.uk>");
|
||||
|
|
|
@ -13010,7 +13010,7 @@
|
|||
"GInitiallyUnowned",
|
||||
"GObject"
|
||||
],
|
||||
"klass": "Codec/Parser/Subtitle",
|
||||
"klass": "Codec/Decoder/Subtitle",
|
||||
"long-name": "SSA Subtitle Parser",
|
||||
"pad-templates": {
|
||||
"sink": {
|
||||
|
@ -13036,7 +13036,7 @@
|
|||
"GInitiallyUnowned",
|
||||
"GObject"
|
||||
],
|
||||
"klass": "Codec/Parser/Subtitle",
|
||||
"klass": "Codec/Decoder/Subtitle",
|
||||
"long-name": "Subtitle parser",
|
||||
"pad-templates": {
|
||||
"sink": {
|
||||
|
|
|
@ -108,7 +108,7 @@ gst_ssa_parse_class_init (GstSsaParseClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &sink_templ);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_templ);
|
||||
gst_element_class_set_static_metadata (element_class,
|
||||
"SSA Subtitle Parser", "Codec/Parser/Subtitle",
|
||||
"SSA Subtitle Parser", "Codec/Decoder/Subtitle",
|
||||
"Parses SSA subtitle streams",
|
||||
"Tim-Philipp Müller <tim centricular net>");
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ gst_sub_parse_class_init (GstSubParseClass * klass)
|
|||
gst_element_class_add_static_pad_template (element_class, &sink_templ);
|
||||
gst_element_class_add_static_pad_template (element_class, &src_templ);
|
||||
gst_element_class_set_static_metadata (element_class,
|
||||
"Subtitle parser", "Codec/Parser/Subtitle",
|
||||
"Subtitle parser", "Codec/Decoder/Subtitle",
|
||||
"Parses subtitle (.sub) files into text streams",
|
||||
"Gustavo J. A. M. Carneiro <gjc@inescporto.pt>, "
|
||||
"GStreamer maintainers <gstreamer-devel@lists.freedesktop.org>");
|
||||
|
|
Loading…
Reference in a new issue