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:
Edward Hervey 2010-01-25 16:40:20 +01:00
parent 93c34781c2
commit 4f9de70744
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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;