[gstreamer-bugs] [Bug 597407] GstPipeline calculates base_time incorrectly when a new clock appears during PAUSED state

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Oct 9 04:55:32 PDT 2009


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

--- Comment #9 from Tommi Myöhänen <ext-tommi.myohanen at nokia.com> 2009-10-09 11:55:25 UTC ---
Created an attachment (id=145122)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=145122)
Fix timestamp comparison code

After all it looks like the problem culminated into GstBaseAudioSrc, where
timestamp and basetime comparison was done incorrectly. Instead of directly
comparing them we need to use GST_CLOCK_DIFF() macro and check the result. This
is because basetime may be negative, so the macro handles the situation
correctly by casting the result to GstClockTimeDiff.

Attached is a patch which fixes the problem in GstBaseAudioSrc.

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