[MPlayer-dev-eng] libvo2, 1st proposed spec

David Holm dholm at telia.com
Sun Nov 18 17:18:22 CET 2001


Arpi wrote:

>Hi,
>
>>Here is a theoretical implementation of dxr3 (it hopefully works, but I 
>>
>
>>static priv_t dxr3;
>>
>
>you should avoid using globals like this.
>
>i have plans for multiple video widnows etc with libvo2, especially for
>mencoder (view both input and output file etc).
>maybe it has no much sense for dxr3, except if someone has multiple cards...
>
>>static int control(void *p, int cmd, void* param)
>>
>
>*p always points to priv_t, to avoid having globals for that.
>
>mayeb we could do some C tricks, like:
>
>static int control(struct priv_s *p, ...)
>
>so avoid typecasting.
>
>
>A'rpi / Astral & ESP-team
>
>--
>mailto:arpi at thot.banki.hu
>http://esp-team.scene.hu
>_______________________________________________
>MPlayer-dev-eng mailing list
>MPlayer-dev-eng at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>

yes, I know...

but I got extremely tired of p->priv->bla->blef.cp = 7584 (stupid 
example)...
so  I thought I'd use it globally in this example, and convert it to p-> 
when libvo2 becomes a bit more usable (like when there actually is a core ;)




More information about the MPlayer-dev-eng mailing list