[MPlayer-dev-eng] [PATCH] support for mid-way audio streams

Nico Sabbi nsabbi at email.it
Tue Jul 4 10:15:47 CEST 2006


Reimar Doeffinger wrote:
> Hello,
> On Tue, Jul 04, 2006 at 12:12:39AM +0200, Nico Sabbi wrote:
>   
>> Some demuxer may need a tiny change to fit with the new pattern, but 
>> mpeg* ones
>> are already fine.
>>     
>
> What is the new pattern? What would have to be changed?
>   

some demuxers set demuxer->audio->id = -2, but only mplayer and mencoder
are supposed to set it
>   
>> If no one objects I'll commit it tomorrow.
>>     
>
> Please don't remove the empty line before the "PLAY AUDIO" comment.
>
> Greetings,
> Reimar Doeffinger
>   

ok.
BTW, I forgot a fix: reinit_audio_chain() must set d_audio->id = -2 when 
it's not possible
to init the chain, otherwise the demuxer will stack up undecoded audio 
packets in demuxer->audio
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Crea il tuo sito web dinamico con PHP e MySQL - VideoCorso professionale direttamente nel tuo computer. Trucchi e segreti
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5142&d=4-7



More information about the MPlayer-dev-eng mailing list