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
@ -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…
x
Reference in New Issue
Block a user