[gstreamer-bugs] [Bug 602419] New: [basesink] Regression with position reporting
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Nov 19 08:02:46 PST 2009
https://bugzilla.gnome.org/show_bug.cgi?id=602419
GStreamer | gstreamer (core) | 0.10.x
Summary: [basesink] Regression with position reporting
Classification: Desktop
Product: GStreamer
Version: 0.10.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: slomo at circular-chaos.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Hi,
see bug #585969 comment #7.
This is caused by this commit
http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=f83ea8233bf1661bdab0d4ec6f08169d7c664452
Position reporting between the group switch results in:
[...]
0:00:04.913886000 / 0:00:06.965986394
0:00:05.412122000 / 0:00:06.965986394
0:00:01.000000000 / 0:00:05.804988662
0:00:00.420986000 / 0:00:05.804988662
0:00:00.921070000 / 0:00:05.804988662
[...]
That weird 1 second is caused by the base time being larger (6965986394) than
the clock time (6717317000), resulting in GST_CLOCK_DIFF (base, now) < 0.
Then basetime is set to -clocktime and a few times later the position is
calulated as follows:
*cur = time + gst_guint64_to_gdouble (now - base) * rate;
--
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