mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 00:45:56 +00:00
ffmpegmux/demux: Blacklist ASS/SSA 'demuxers'.
They're not a container format, but a subtitle format, and we already have plugins to handle those subtitle formats.
This commit is contained in:
parent
93c34781c2
commit
4f9de70744
2 changed files with 4 additions and 2 deletions
|
@ -1891,7 +1891,8 @@ gst_ffmpegdemux_register (GstPlugin * plugin)
|
|||
|
||||
/* these don't do what one would expect or
|
||||
* are only partially functional/useful */
|
||||
if (!strcmp (in_plugin->name, "aac") || !strcmp (in_plugin->name, "wv"))
|
||||
if (!strcmp (in_plugin->name, "aac") ||
|
||||
!strcmp (in_plugin->name, "wv") || !strcmp (in_plugin->name, "ass"))
|
||||
goto next;
|
||||
|
||||
/* Don't use the typefind functions of formats for which we already have
|
||||
|
|
|
@ -830,7 +830,8 @@ gst_ffmpegmux_register (GstPlugin * plugin)
|
|||
(!strncmp (in_plugin->name, "image", 5)) ||
|
||||
(!strncmp (in_plugin->name, "mulaw", 5)) ||
|
||||
(!strncmp (in_plugin->name, "alaw", 4)) ||
|
||||
(!strncmp (in_plugin->name, "h26", 3))
|
||||
(!strncmp (in_plugin->name, "h26", 3)) ||
|
||||
(!strncmp (in_plugin->name, "ass", 3))
|
||||
) {
|
||||
GST_LOG ("Ignoring muxer %s", in_plugin->name);
|
||||
goto next;
|
||||
|
|
Loading…
Reference in a new issue