[Bug 734424] videorate produces bogus output when framerate=0/1

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Dec 9 03:47:41 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734424
  GStreamer | gst-plugins-base | 1.4.0

--- Comment #10 from Thibault Saunier <tsaunier at gnome.org> 2014-12-09 11:47:39 UTC ---
Created an attachment (id=292379)
 View: https://bugzilla.gnome.org/attachment.cgi?id=292379
 Review: https://bugzilla.gnome.org/review?bug=734424&attachment=292379

videorate: Do not loop forever pushing first buffer when variable framerate

In the case the framerate is variable (represented by framerate=0/1),
we currently end up loop pushing the first buffer and then recompute
diff1 and diff2 without updating the videorate->next_ts at all
leading to infinitely looping pushing that first buffer.

In the case of variable framerate, we should just compute the next_ts
as previous_pts + previous_duration.

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