On 18 Mar 2003, Gerd Knorr wrote: > As there are _lots_ of settings for MPEG1/2 it is probably a good idea to > split the whole thing into some groups. Maybe this way: > > struct v4l2_compression { /* rename to mpeg_compression ??? */ > unsigned int group; > union { > struct system { ... }; > struct video { ... }; > struct audio { ... }; > }; > }; <warning! caffiene deficient!> Hmmmm, this seems a bit heavyweight. I know the union's going to give me nightmares (perl). One of the arguments I have is that some (not all) of the props can be changed on the fly. Not that I can come up with anything better: struct ... { u32 command; u32 flags; u32 args[?]; } That, of course makes things rather opaque. I'd like some input from the potential heavy users anyway. I suspect that would be PVR applications (to a limited extent) and the NLE apps (Cinellera, etc.) Maybe we should just experiment with some interfaces in the the PRIVATE range for a bit to see what works and what doesn't. Suggestions gladly accepted. John