Commit 4f9de707 authored by Edward Hervey's avatar Edward Hervey 🤘

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.
parent 93c34781
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment