After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 384294 - [modplug] returns position query results in attoseconds
[modplug] returns position query results in attoseconds
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-12-10 09:40 UTC by Jonathan Matthew
Modified: 2006-12-11 09:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes modplug position query (988 bytes, patch)
2006-12-10 09:46 UTC, Jonathan Matthew
committed Details | Review

Description Jonathan Matthew 2006-12-10 09:40:27 UTC
modplug calculates the position as a fraction of song_length (already stored in nanoseconds), then multiplies the result by GST_SECOND, leading to completely bogus results.
Comment 1 Jonathan Matthew 2006-12-10 09:46:13 UTC
Created attachment 78067 [details] [review]
fixes modplug position query
Comment 2 Wim Taymans 2006-12-11 09:52:36 UTC
        Patch by: Jonathan Matthew <jonathan at kaolin wh9 net>).

        * gst/modplug/gstmodplug.cc:
        Fix modplug duration query. Fixes #384294.