This is a patch (against the upstream git master... I thought this had
been forwarded upstream, but I was confusing this with a different bug).
The main issue is that the playbin2 gstreamer element doesn't actually
tell you when it finishes one stream and begins the next. This patch
works around that for the moment by assuming that when the stream
position goes backwards, we have moved to the next stream.

So, now instead of having the position slider jump around to different
spots, it now either works correctly, or jumps to 0:00 of the next track
in the time period where it would previously have been jumping around.

The previous behavior had the position slider moving to the elapsed time
for the current stream, but scaled according to the length of the next
stream, so it was often somewhere in the middle.

I've spoken to a gstreamer guy on irc, and there are plans to fix
playbin2 in the future.

** Attachment added: "Workaround until playbin2 is fixed"
   
http://launchpadlibrarian.net/35311308/0001-Attempt-to-keep-elapsed-time-consistent-when-changin.patch

-- 
Slider jumps around at the end of songs
https://bugs.launchpad.net/bugs/474139
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to