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
@ -733,9 +733,9 @@ _src_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||
gst_caps_replace (&demux->input_caps, caps);
|
||||
GST_INFO_OBJECT (demux, "Input source caps: %" GST_PTR_FORMAT,
|
||||
demux->input_caps);
|
||||
demux->do_typefind = FALSE;
|
||||
}
|
||||
gst_pad_set_caps (srcpad, caps);
|
||||
demux->do_typefind = FALSE;
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user