[MPlayer-dev-eng] [PATCH] Allow loading config per stream type.
Benjamin Zores
ben at geexbox.org
Tue Jan 8 19:07:06 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.
I'm gonna apply this within 2 days if I get no objections.
Ben
More information about the MPlayer-dev-eng
mailing list