summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-06-29 13:29:05 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-06-29 13:29:05 +0200
commit626152dd6f2164537b7788c885f8570155e7f6dc (patch)
tree1251738096bcd0b1c6a2cd7d2117fc00684354e5
parent8271b2755a81fe182a17a1a623a181d2a5b3f0d4 (diff)
avmux: Ignore stream_segment,ssegment muxer that is provided by ffmpeg
The comma confuses our code, e.g. it's not a valid element name or structure name.
-rw-r--r--ext/libav/gstavmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/libav/gstavmux.c b/ext/libav/gstavmux.c
index 2117a8e..7e83212 100644
--- a/ext/libav/gstavmux.c
+++ b/ext/libav/gstavmux.c
@@ -935,7 +935,8 @@ gst_ffmpegmux_register (GstPlugin * plugin)
(!strncmp (in_plugin->name, "ass", 3)) ||
(!strncmp (in_plugin->name, "ffmetadata", 10)) ||
(!strncmp (in_plugin->name, "srt", 3)) ||
- !strcmp (in_plugin->name, "segment")
+ !strcmp (in_plugin->name, "segment") ||
+ !strcmp (in_plugin->name, "stream_segment,ssegment")
) {
GST_LOG ("Ignoring muxer %s", in_plugin->name);
goto next;