[MPlayer-dev-eng] [PATCH] using demuxer_switch(-2) to uninit audio/video

Nico Sabbi nicola_sabbi at fastwebnet.it
Mon Nov 20 00:19:17 CET 2006


Nico Sabbi wrote:

> At the moment demuxer_switch_{audio,video} always passes to the demuxer
> *arg=-1 to switch to the next track.
> This patch changes a bit the interface, using -2 to mean "no sound", 
> consistently
> with -novideo and -nosound; it's needed when switching from a program 
> that
> doesn't have one stream type (e.g. video)  to another program which 
> has it.
> All other demuxers should be unaffected.
> If there are no complains I'll commit RSN
>
>------------------------------------------------------------------------
>
applied



More information about the MPlayer-dev-eng mailing list