[MPlayer-dev-eng] Possible bug when sample rate changes mid-stream

Paul Kelly paul at stjohnspoint.co.uk
Tue Oct 15 23:46:17 CEST 2013


On Tue, 15 Oct 2013, Reimar Döffinger wrote:

> On Mon, Oct 07, 2013 at 08:53:33PM +0000, Paul Kelly wrote:
>> 
>> I am experiencing a problem with mplayer when playing MP3 audio in
>> which the sample rate changes during playback. The problem shows
>> itself in particular with some internet radio stations which change
>> from 22050 Hz to 44100 Hz mid-stream without any interruption -
>> mplayer will play such a stream at half speed after the change.
>>
>
> Should be kind of mostly fixed by r36465.

Thanks for this and for the earlier explanation, which makes sense. 
Unfortunately using the latest SVN I still have the problem; it looks to 
me that the variable c->last_samplerate is never being set to anything
after initialisation. The attached patch makes it work for me.

Paul K
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ad_ffmpeg.patch
Type: text/x-diff
Size: 555 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20131015/1143bac4/attachment.bin>


More information about the MPlayer-dev-eng mailing list