[Bug 667298] basesink: don't compensate for render-delay twice

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 4 17:27:39 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=667298
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-01-05 01:27:34 UTC ---
> gst_base_sink_adjust_time already subtracts render-delay.

Because it was included in the measured latency, as I understand it:

  /* subtract the render delay again, which was included in the latency */
  if (time > basesink->priv->render_delay)
    time -= basesink->priv->render_delay;
  else
    time = 0;


A unit test for this would be nice...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list