summaryrefslogtreecommitdiff
path: root/ext/hls/gsthlsdemux.c
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2017-01-11 12:34:58 +1100
committerJan Schmidt <jan@centricular.com>2017-02-07 23:53:30 +1100
commit691b5968e1a5fdbf476337d88311cb0212f2d017 (patch)
treefa407495e00e9082b915e06bdf30c58309d62f90 /ext/hls/gsthlsdemux.c
parentb2113f69c622c37c32d4336025f80a5c1d190897 (diff)
downloadgstreamer-plugins-bad-691b5968e1a5fdbf476337d88311cb0212f2d017.tar.gz
hlsdemux: Redo typefind after stripping tags
When stripping the ID3 header, redo typefinding so we set audio caps instead of still setting id3 caps and plugging a useless id3demux
Diffstat (limited to 'ext/hls/gsthlsdemux.c')
-rw-r--r--ext/hls/gsthlsdemux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c
index f0647fd18..e592563b6 100644
--- a/ext/hls/gsthlsdemux.c
+++ b/ext/hls/gsthlsdemux.c
@@ -844,6 +844,9 @@ gst_hls_demux_handle_buffer (GstAdaptiveDemux * demux,
if (tags) {
gst_adaptive_demux_stream_set_tags (stream, tags);
+ /* run typefind again on the trimmed buffer */
+ hls_stream->do_typefind = TRUE;
+ return gst_hls_demux_handle_buffer (demux, stream, buffer, at_eos);
}
if (buffer) {