[Bug 678386] Current sinks fail Position Queries in Percent format
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Jun 25 04:38:44 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=678386
GStreamer | gst-plugins-good | 0.10.36
Sebastian Dröge <slomo> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|gstreamer (core) |gst-plugins-good
Resolution| |FIXED
Target Milestone|HEAD |0.10.33
--- Comment #1 from Sebastian Dröge <slomo at circular-chaos.org> 2012-06-25 11:38:42 UTC ---
This change in gst-plugins-good makes it almost work:
commit 8cbaaba94885486cb124892aad6d36dc7925b922
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Mon Jun 25 13:31:16 2012 +0200
matroskademux: Return FALSE from queries if we can't answer
POSITION/DURATION queries
Additionally your validity checks for the duration are not correct. It will
return 0xffffffffffffffff as duration in percent, and that is not a valid clock
time. Just use GST_FORMAT_PERCENT_MAX instead of querying the duration in
percent. Then everything works.
Also don't use GST_CLOCK_TIME_IS_VALID() on the position in percentage either.
--
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