Commit cf57f1b2 authored by Jan Urbański's avatar Jan Urbański Committed by Sebastian Dröge
Browse files

flvmux: only store the last buffer timestamp if it's valid

Fixes bug #618305
parent 34d0d591
......@@ -1193,7 +1193,7 @@ gst_flv_mux_write_buffer (GstFlvMux * mux, GstFlvPad * cpad)
ret = gst_flv_mux_push (mux, tag);
if (ret == GST_FLOW_OK)
if (ret == GST_FLOW_OK && GST_BUFFER_TIMESTAMP_IS_VALID (tag))
cpad->last_timestamp = GST_BUFFER_TIMESTAMP (tag);
return ret;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment