[vlc-commits] Define VOUT_WINDOW_TYPE_NATIVE

Rémi Denis-Courmont git at videolan.org
Sat Feb 19 14:16:37 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 19 11:58:28 2011 +0200| [8e9eb2df5359ecde84cee2724899346064ee07e3] | committer: Rémi Denis-Courmont

Define VOUT_WINDOW_TYPE_NATIVE

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e9eb2df5359ecde84cee2724899346064ee07e3
---

 include/vlc_vout_window.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/vlc_vout_window.h b/include/vlc_vout_window.h
index a3df6d5..31a5384 100644
--- a/include/vlc_vout_window.h
+++ b/include/vlc_vout_window.h
@@ -46,6 +46,12 @@ enum {
     VOUT_WINDOW_TYPE_NSOBJECT,
 };
 
+#if defined (WIN32)
+# define VOUT_WINDOW_TYPE_NATIVE VOUT_WINDOW_TYPE_HWND
+#elif defined (__unix__)
+# define VOUT_WINDOW_TYPE_NATIVE VOUT_WINDOW_TYPE_XID
+#endif
+
 /**
  * Control query for vout_window_t
  */



More information about the vlc-commits mailing list