mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 20:12:28 +00:00
hlsdemux: do not try to run typefind again if caps is the same
Always reset the do_typefind flag if hls did typefind because trying it on non-zero offsets doesn't make sense and will cause assertions
This commit is contained in:
parent
cc033c7ca0
commit
671f8c0e35
1 changed files with 1 additions and 1 deletions
|
@ -733,9 +733,9 @@ _src_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||||
gst_caps_replace (&demux->input_caps, caps);
|
gst_caps_replace (&demux->input_caps, caps);
|
||||||
GST_INFO_OBJECT (demux, "Input source caps: %" GST_PTR_FORMAT,
|
GST_INFO_OBJECT (demux, "Input source caps: %" GST_PTR_FORMAT,
|
||||||
demux->input_caps);
|
demux->input_caps);
|
||||||
demux->do_typefind = FALSE;
|
|
||||||
}
|
}
|
||||||
gst_pad_set_caps (srcpad, caps);
|
gst_pad_set_caps (srcpad, caps);
|
||||||
|
demux->do_typefind = FALSE;
|
||||||
gst_caps_unref (caps);
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue