[MPlayer-dev-eng] [PATCH] Direct3D libvo driver

Georgi Petrov gogothebee at gmail.com
Thu Nov 13 14:12:29 CET 2008


> Functions to look at in w32_common (documentation patches welcome, too):
> vo_w32_init creates window, call in your preinit function
> vo_w32_window contains the window handle
> vo_w32_config sets the Window size etc., call in your config function
> vo_w32_check_events call in the check_events function to handle when the
>                    window was resized or needs to be redrawn.
> vo_w32_uninit call in your uninit function
> vo_w32_ontop call on VOCTRL_ONTOP
> vo_w32_fullscreen call on VOCTRL_FULLSCREEN (and do anything to handle
>                  the window resizing that comes with that).
> vo_w32_border call on VOCTRL_BORDER
> w32_update_xinerama_info call on VOCTRL_UPDATE_SCREENINFO and return
>                         true to use the newer way to handle windows
>                         (automatically takes care of -geometry etc.)
> vo_gl uses most of these without the w32_ part, it uses defines to map it
> to the names x11_common.c uses.
>

Thanks - I'll take a look at those very soon. Using them will surely
improve compatibility and leave fewer places for my mistakes.
Automatic support for -wid will be cool too.

I still can't get current MPlayer SVN to play any video... Should I
file a bugreport? I want a configuration I can work on...



More information about the MPlayer-dev-eng mailing list