[MPlayer-dev-eng] [PATCH] Do not close feed in the middle of decoding.

Thomas Orgis thomas-forum at orgis.org
Thu Jul 25 12:30:29 CEST 2013


Am Thu, 25 Jul 2013 08:33:01 +0200
schrieb Reimar Döffinger <Reimar.Doeffinger at gmx.de>: 

> On 25.07.2013, at 01:16, Thomas Orgis <thomas-forum at orgis.org> wrote:
> > just change
> > sh->samplerate and sh->channels accordingly, right during decoding?
> 
> I think so, but look at ad_ffmpeg if it does something special like calling a reinit function.
> Video decoders need to do that, but I think for audio it is all automatic.

Funny that this indeed works for a quickly hacked ad_mpg123 using
http://mpg123.org/test/44and22.mp3 and it does _not_ work with
ad_ffmpeg, apparently (-ac ffmp3), like I mentioned on bugzilla #2149.

When my question about how to deal with exceptional error
situations (see the bug comment) is answered, I'll submit a proper
patch.


Alrighty then,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20130725/3981bcda/attachment.asc>


More information about the MPlayer-dev-eng mailing list