[Mplayer-cvslog] CVS: main cfg-common.h,1.106,1.107

Alex Beregszaszi alex at fsn.hu
Wed Oct 29 11:37:39 CET 2003


Hi,

>  > Settled to CONF_TYPE_IMGFMT which simplified lot of things. Now
>  > there's no need to add new img formats to the source, instead you
>  > can try it out by providing it in hexa format, and if it isn't
>  > supported by the card, you get a nice error message. That's all.
>  > 
>  > -	{"outfmt", &tv_param_outfmt, CONF_TYPE_STRING, 0, 0, 0, NULL},
>  > +	{"outfmt", &tv_param_outfmt, CONF_TYPE_IMGFMT, 0, 0, 0, NULL},
> 
> Is this man page entry still correct?
> 
>   outfmt=<value>
>        output format of the  tuner  (yv12,  rgb32,
>        rgb24, rgb16, rgb15, uyvy, yuy2, i420)
Yes and no ;)
Technically you can give everything as hexa and every csp supported by
mplayer, but only the above listed are supported by the v4l driver. If
it catches a non-supported csp, it prints out a message, that this might
be crash or break, but it will continue. So you could test new formats
without hacking the source.

-- 
Alex Beregszaszi <alex at fsn.hu>
(MPlayer Core Developer -- http://www.mplayerhq.hu/)



More information about the MPlayer-cvslog mailing list