[MPlayer-cvslog] r32709 - trunk/etc/example.conf

compn tempn at twmi.rr.com
Tue Dec 14 17:45:41 CET 2010


On Tue, 14 Dec 2010 17:27:13 +0100, Diego Biurrun wrote:
>On Sun, Dec 12, 2010 at 06:16:59PM +0100, compn wrote:
>> 
>> Log:
>> add some profile information
>> 
>> --- trunk/etc/example.conf	Sun Dec 12 17:50:13 2010	(r32708)
>> +++ trunk/etc/example.conf	Sun Dec 12 18:16:59 2010	(r32709)
>> @@ -10,6 +10,9 @@
>>  #
>>  # See the CONFIGURATION FILES section in the man page
>>  # for a detailed description of the syntax.
>> +#
>> +# Profiles should be at the bottom of the config file to ensure you dont
>> +# put default options under profiles accidentally.
>
>do not
>
>The above sentence can be misunderstood by unknowledgeable readers I
>think.  Does "under" mean that options in a profile will override the
>defaults or vice versa?  Does it mean that default options will be
>mistakenly parsed as part of a profile or vice versa?
>
>> @@ -19,6 +22,11 @@
>> +
>> +# Make sure options under vo.vdpau profile are counted when vdpau is not used
>> +#[default]
>
>This suffers from the same problem I think.
>
>
>I'm confused myself right now since I have forgotten the details of the
>config file syntax, so I'm convinced others can be confused as well :-)

suggestions or fixes welcome.

someone put the vo.vdpau profile at the beginning of the example
config. this means that any options enabled (assuming the vo.vdpau
profile is uncommented) will only work when -vo vdpau is used. hence
the [default] profile being right underneath it, to start the regular
config profile.

basically if your config is this:
[vo.vdpau]
vc=ffh264vdpau

font=arial.ttf
fixed-vo=yes
vo=xv
framedrop=no

profiles are only terminated by another profile or eof.

-compn


More information about the MPlayer-cvslog mailing list