[MPlayer-dev-eng] [PATCH] Allow loading config per stream type.

Ulion ulion2002 at gmail.com
Fri Jan 4 12:58:43 CET 2008


2008/1/4, Benjamin Zores <ben at geexbox.org>:
> Hi,
>
> MPlayer currently allows having a specific config per file (i.e.
> myfile.avi.conf is used when myfile.avi is played).
>
> Attached patch does the same per stream
>   => /etc/mplayer/tv.conf for tv://
>   => /etc/mplayer/dvd.conf for dvd://
>   => ...
>
> This may help having some options options you want to be defined for
> some stream type (deinterlacing filters, scalers, whatever ...) and do
> not want to have for other types.
>
> FWIK it's not possible today with monolitic mplayer.conf file.
>
> Is attached patch ok for this ?

Could this be implemented by using the [section] in mplayer's config file?
i.g. [protocol.dvd], [protocol.dvdnav], [fileext.mp4], etc.

-- 
Ulion



More information about the MPlayer-dev-eng mailing list