[MPlayer-dev-eng] [PATCH] vo-control method suggestion

David Holm david at realityrift.com
Thu Feb 7 18:26:43 CET 2002


> 
> well there's also the option of returning -EWHATEVER from errno.h on
> errors. i think that was the idea -- not setting the global variable
> errno or anything messy like that.
> 
Yes, this is what I meant.



>what about control(int cmd, void* param, ...); ?
>as most function uses pointer, it's easy to use, but we keep the
>extendibility
>
>A'rpi / Astral & ESP-team

Sounds like a great solution to me, extensible, yet you don't have to
know how va_args work unless you need to implement some advanced
feature.

//David




More information about the MPlayer-dev-eng mailing list