X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vout_window.h;h=3d7e92966bfa7b430578542eaff498b7d839dfa6;hb=c60652e38ac6afd74bd8225e9dae5406f13aaa4f;hp=14e6db7c669aaad6bef36e6e74b739624b743881;hpb=e21af72667a0291da9decea43330b881fabf8939;p=vlc diff --git a/include/vlc_vout_window.h b/include/vlc_vout_window.h index 14e6db7c66..3d7e92966b 100644 --- a/include/vlc_vout_window.h +++ b/include/vlc_vout_window.h @@ -43,6 +43,7 @@ typedef struct vout_window_sys_t vout_window_sys_t; enum { VOUT_WINDOW_TYPE_XID, VOUT_WINDOW_TYPE_HWND, + VOUT_WINDOW_TYPE_NSOBJECT, }; /** @@ -88,14 +89,15 @@ struct vout_window_t { * 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) *