[MPlayer-dev-eng] [PATCH] YUV support for vo_quartz, at last
D Richard Felker III
dalias at aerifal.cx
Fri Apr 30 11:07:14 CEST 2004
On Fri, Apr 30, 2004 at 10:25:46AM +0200, Romain Dolbeau wrote:
> D Richard Felker III wrote:
>
> >This should be implemented as driver suboptions: -vo quartz:uyvy.
>
> I wanted to, and I thought that adding
>
> #ifdef MACOSX
> // -vo quartz
> {"quartz", &quartz_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
> #endif
>
> was the right thing to do. Obviously not :-( Only the -quartz
> syntax is working (quartz_opts is of type m_option_t).
>
> What's the proper way of adding suboptions ?
It's the string argument passed to your preinit function. You get to
interpret it however you like, so you could parse it as a :-separated
list of options, or a single option or device name, or whatever.
Rich
More information about the MPlayer-dev-eng
mailing list