Re: [mpg123-devel] Help please...
Brought to you by:
sobukus
From: Thomas O. <tho...@or...> - 2012-01-29 13:28:16
|
Am Sat, 28 Jan 2012 21:45:04 +0000 schrieb Clive Cooper <cl...@wi...>: > If I then seek to frame 299 and decode it and then to frame 298 and > decode that it does not work. > &fNum shows I have actually just decoded frames 301 and 302. It might be that you're hitting a bug with the gapless decoding code. Or, well, perhaps a documentation issue, depends on my final interpretation;-) Could you disable gapless decoding and repeat your experiment: mpg123_param(hMp3, MPG123_REMOVE_FLAGS, MPG123_GAPLESS, 0.); Thing is that the gapless code tries to hide the complexity of having to decode some leading frames to get reproducable output (MP3 frames depend on predecessors). So, for example, when getting frame 300, it seeks to 298 and decodes the leading frames into emptyness before getting to the actually wanted frame. I can imagine that your special case trips a bug with that behaviour. Alrighty then, Thomas. |