[MPlayer-dev-eng] [PATCH] Auto load vobsub from ~/.mplayer/sub and oss mixer settings "per instance"

Alban Bedel albeu at free.fr
Wed Aug 31 15:01:02 CEST 2005


Hi all,

I was playing with subtitles autoload and i found out that vobsub in
~/.mplayer/sub are not autoloaded. The first patch fix that.

Another little bugger is ao oss when used with several dsp. One can
use -ao oss,oss:/dev/dsp1 to get fallback from one dsp on the other.
But then the mixer settings (device and/or channel) are wrong when using
the second dsp. So i made a little patch to allow setting mixer device
and channel "per instance". The syntax become:
-ao oss[:/dev/dsp[:/dev/mixer[:channel]]]
So one can use something like:
-ao oss,oss:/dev/dsp1:/dev/mixer:synth,oss:/dev/dsp2:/dev/mixer1
and the mixer is working properly all the time :)

	Albeu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vobsub.patch
Type: application/octet-stream
Size: 1041 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050831/9d4f3af1/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ao_oss.patch
Type: application/octet-stream
Size: 2120 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050831/9d4f3af1/attachment-0001.obj>


More information about the MPlayer-dev-eng mailing list