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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Oct 16 04:58:35 CEST 2013



On 15.10.2013, at 23:46, Paul Kelly <paul at stjohnspoint.co.uk> wrote:

> 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.

How embarrassing. I think I tested with mpg123 by accident, that's why I thought it worked...


More information about the MPlayer-dev-eng mailing list