GNOME Bugzilla – Bug 702778
REGRESSION : Backward seeking doesn't work with mp3 files.
Last modified: 2013-07-12 19:35:39 UTC
That's probably a problem in baseparse. Very easily reproducible with the playback-test binary in base : ./playback-test 1 "filesrc location=/music/mp3 ! mad ! audioconvert ! autoaudiosink" Seek to some place, then seek back at the beginning : no more sound. This bug is most likely related to https://bugzilla.gnome.org/show_bug.cgi?id=691481#c25 , comment 25 actually pointed it out.
How weird, I'm quite sure that got fixed..
Actually, please reproduce and test with decodebin or playbin. mad alone does not support seeking any more with 1.0, you need an mpegaudioparse in front of it. But I can reproduce this with playbin and git master.
Oh damn I'm sorry ! I posted the bad pipeline, this one shows the problem : ./playback-test 1 "uridecodebin uri=file:///home/music.mp3 ! autoaudiosink"
I can confirm, I have the same issue with seeking in MP3. I tried with totem, and it indeed doesn't seek backwards. Note that if we do a query_position after the seek, it will keep returning the old position before the seek, and the position won't advance, i.e: it's not playing anymore.
commit 97b1e17b097f6e510920618d17433fda5e5a039e Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Wed Jul 3 21:23:44 2013 +0200 baseparse: reset PTS after seek Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702778
This bug never applied to the 1.0.x series, only a temporary regression in git master in the development series. (Made it wrongly into 1.0.8 release notes though unfortunately, I should've checked close)