[gstreamer-bugs] [Bug 310447] New: incorrect time change
bugzilla-daemon at bugzilla.gnome.org
bugzilla-daemon at bugzilla.gnome.org
Fri Jul 15 00:09:48 PDT 2005
Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.
http://bugzilla.gnome.org/show_bug.cgi?id=310447
GStreamer | gstreamer (core) | Ver: 0.8.x
Summary: incorrect time change
Product: GStreamer
Version: 0.8.x
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: josef.zlomek at xeris.cz
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
When waiting for future timestamp, the function gst_element_wait wrongly
computes the target time. The problem is that it adds the element->base_time to
the timestamp which results in timestamp far in the future. Gstreamer starts
reading the input and is waiting for this far time and thus deos nothing useful.
I have added more debug dumps and got the following times. It is obvoius that
gstreamer should wait for timestamp and not for element->base_time + timestano.
gstelement.c(938):gst_element_wait:<demuxer> element time 1:25:18.889187333
gstelement.c(940):gst_element_wait:<demuxer> element base time
311491:34:12.731328667
gstelement.c(942):gst_element_wait:<demuxer> timestamp 1:25:18.891833333
The attached patch fixes this bug.
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs
mailing list