[MPlayer-dev-eng] [PATCH] Optional parameter for switch_audio

kiriuja mplayer-patches at en-directo.net
Wed Apr 13 03:33:48 CEST 2005


The attached patch allows switching to a specific audio stream in MPEG
files, instead of having to cycle through them. The optional parameter
gives the audio stream index. By default it cycles through the streams
as before.

Could somebody please check and commit?

If not I will update the patch whenever switch_audio updates are
committed for other demuxers, unless Michael is willing to merge this
into his patches. The index parameter will be zero based in all cases,
even when -aids are not.

--
kiriuja
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch_audio_param.diff
Type: text/x-diff
Size: 5239 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050412/fbb1d391/attachment.diff>


More information about the MPlayer-dev-eng mailing list