mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
flv: Handle the case where we do not get any CollectData in handle_buffer
https://bugzilla.gnome.org/show_bug.cgi?id=765320
This commit is contained in:
parent
cde45a41a5
commit
dd9bfd03ec
1 changed files with 1 additions and 1 deletions
|
@ -1603,7 +1603,7 @@ gst_flv_mux_handle_buffer (GstCollectPads * pads, GstCollectData * cdata,
|
|||
}
|
||||
mux->state = GST_FLV_MUX_STATE_DATA;
|
||||
|
||||
if (GST_COLLECT_PADS_DTS_IS_VALID (cdata))
|
||||
if (cdata && GST_COLLECT_PADS_DTS_IS_VALID (cdata))
|
||||
mux->first_timestamp = GST_COLLECT_PADS_DTS (cdata);
|
||||
else
|
||||
mux->first_timestamp = 0;
|
||||
|
|
Loading…
Reference in a new issue