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
This commit is contained in:
Jan Schmidt 2017-01-11 12:34:58 +11:00
parent b2113f69c6
commit 691b5968e1

View file

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