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

Nico Sabbi nicola_sabbi at fastwebnet.it
Sun Nov 19 19:09:51 CET 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mix2.diff
Type: text/x-patch
Size: 3598 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061119/e8892b82/attachment.bin>


More information about the MPlayer-dev-eng mailing list