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

Benjamin Zores ben at geexbox.org
Thu Jan 10 20:23:24 CET 2008


Benjamin Zores a écrit :
> On Jan 4, 2008 2:02 PM, Benjamin Zores <ben at geexbox.org> wrote:
>> On Jan 4, 2008 12:58 PM, Ulion <ulion2002 at gmail.com> wrote:
>>
>>> Could this be implemented by using the [section] in mplayer's config file?
>>> i.g. [protocol.dvd], [protocol.dvdnav], [fileext.mp4], etc.
> 
> What about attached patch then ?
> It uses profiles in mplayer.conf as it does for mencoder, except that
> they are automatically loaded (you don't need to pass the -profile
> option to command line).
> 
> Example of mplayer.conf addition:
> 
> [protocol.dvd]
> profile-desc="Profile for dvd:// streams"
> 
> [protocol.tv]
> profile-desc="Profile for tv:// streams"
> tv=driver=dummy
> vo=sdl
> 
> [extension.mpeg]
> profile-desc="Profile for MPEG files"
> vo=x11
> 
> Documentation will of course be appended accordingly if applied.

Applied.
Manpage updated.




More information about the MPlayer-dev-eng mailing list