Commit 7fe3657d authored by Wim Taymans's avatar Wim Taymans
Browse files

libvisual: only drop frames that are really too old

Also take the frame duration into account so that we don't drop frames that are
partially past the estimated QoS time.
parent cc470dfb
......@@ -678,6 +678,7 @@ gst_visual_chain (GstPad * pad, GstBuffer * buffer)
/* QoS is done on running time */
qostime = gst_segment_to_running_time (&visual->segment, GST_FORMAT_TIME,
qostime += visual->duration;
/* check for QoS, don't compute buffers that are known to be late */
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