Opened 11 years ago

Closed 10 years ago

#2581 closed bug (fixed)

Position slider does not match position in the song with MediaPlayer.

Reported by: bga Owned by: axeld
Priority: normal Milestone: R1
Component: Add-Ons Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

When playing this MP3 file:

http://www.bug-br.org.br/virtual-void.mp3

The position slider in MediaPlayer does not match the actual position in the song. In fact, when the music ends, the position slider is at around 1/4 of the bar. The funny thing is that when the music ends, it starts playing again form the start and the position indicator just continues moving.

Change History (4)

comment:1 Changed 11 years ago by stippi

Component: Applications/MediaPlayerAdd-Ons
Owner: changed from marcusoverhagen to axeld

Looks like the MP3 decoder/reader reports a wrong total duration for this file. It's not really a problem in the MediaPlayer itself. BTW, when you let it play to the "end", it will crash in III_antialias() in the mp3_decoder with a corrupt stack. In any case, we need to be able to play back this particular song in Haiku! :-)

comment:2 Changed 11 years ago by bga

I just played it to the end using whatever media player is the default one in Ubuntu and it reported an error at the end (no crash, just said "stream error" or something). Still, the time was correct.

comment:3 Changed 11 years ago by anevilyak

Don't forget to check that 5038.mp3 also plays properly ;-)

comment:4 Changed 10 years ago by bga

Resolution: fixed
Status: newclosed

This has been fixed by David. He also went ahead and fixed seeking. Everything woerks perfectly now. Thanks!

Note: See TracTickets for help on using tickets.