Commit 64046416 authored by Wim Taymans's avatar Wim Taymans Committed by Tim-Philipp Müller
Browse files

jitterbuffer: prevent overflow in EOS estimation

Use a guint64 instead of a guint to hold a 64bit value to prevent completely
bogues EOS estimation values due to overflows.
parent d6c623e9
......@@ -1623,7 +1623,7 @@ push_buffer:
elapsed = gst_util_uint64_scale_int (elapsed, GST_SECOND, priv->clock_rate);
if (elapsed > priv->last_elapsed) {
guint left;
guint64 left;
priv->last_elapsed = elapsed;
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