enum {
VOUT_WINDOW_TYPE_XID,
VOUT_WINDOW_TYPE_HWND,
+ VOUT_WINDOW_TYPE_NSOBJECT,
};
/**
* It must be filled in the open function.
*/
union {
- void *hwnd; /* Win32 window handle */
- uint32_t xid; /* X11 windows ID */
- };
+ void *hwnd; /* Win32 window handle */
+ uint32_t xid; /* X11 windows ID */
+ void *nsobject; /* Mac OSX view object */
+ } handle;
/* display server (mandatory) */
union {
- char *x11_display; /* X11 display (NULL = use default) */
- };
+ char *x11; /* X11 display (NULL = use default) */
+ } display;
/* Control on the module (mandatory)
*