GNOME Bugzilla – Bug 312657
all tracks have a length of 0:00
Last modified: 2005-11-10 12:40:56 UTC
Please describe the problem: In Goobox, all the tracks show a length of 0:00, but they play back just fine. I have goobox 0.9.92-1mdk on Mandriva Linux Cooker i586 with Gstreamer 0.8.10-1mdk and gst-plugins 0.8.10-1mdk. This is the Mandriva Bugzilla entry: http://qa.mandriva.com/show_bug.cgi?id=16266 Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 51740 [details] [review] proposed patch Well, these changes (+ 1 fix in gst-plugins) got my goobox running with gst-plugins-0.8.10 (gentoo). It should be compatible with older gst-plugin although the version check isn't probably very good. For this to work bug #313209 needs to be fixed, too.
This needs #313209 to be fixed.
*** Bug 319688 has been marked as a duplicate of this bug. ***
gstreamer 0.8.11 fixes this bug, closing as OBSOLETE...
From what I can see this isn't totally fixed yet. Using current CVS the track length is correct ( :-) ), except for the last one. Here the negative disc length is used as track length (for example -54:-37 which is the discs total playing time negated)
I cannot reproduce the bug. Are you sure you are using the latest CVS version (the latest commit is dated 2005-11-08) ?
Yes, I just made a fresh checkout. Maybe it's because I'm using a CVS-checkout of gstreamer-0.8 and gst-plugins-0.8. They feature my fix from bug #313209. gst{reamer,-plugins}-0.8.11 didn't fix it for me. It works if I apply the second hunk of my patch posted in #1. (Change GST_QUERY_TOTAL to GST_QUERY_SEGMENT_END;)
I've applied you patch now, it works for me too. Thanks.