mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
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:
parent
b2113f69c6
commit
691b5968e1
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue