[gstreamer-bugs] [Bug 640665] basesink: drops too many buffers when there's no duration

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jan 26 11:00:15 PST 2011


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

--- Comment #1 from Felipe Contreras <felipe.contreras at gmail.com> 2011-01-26 19:00:12 UTC ---
Created an attachment (id=179394)
 View: https://bugzilla.gnome.org/attachment.cgi?id=179394
 Review: https://bugzilla.gnome.org/review?bug=640665&attachment=179394

basesink: calculate rstop when get_times() can't

Proposed fix.

Suppose the buffers don't have a duration (coming from rtp), and suppose
there's no framerate (again, coming from rtp), or other means to
calculate the stop time. Then the start time is assumed as the stop
time, leaving a very small margin where a buffer can come in, and
droping then the rest of the time, even if there was plenty of margin.

Instead, we can calculate when the previous buffer arrived, and the
time difference would be a safe bet when the next buffer should have
arrived.

-- 
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