[vlc-devel] commit: HWND window really can only work inside Windows or WINE code ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Dec 8 21:05:07 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 7 23:19:48 2009 +0200| [74784641be7a9d44014960c931e829cf1b837c69] | committer: Rémi Denis-Courmont
HWND window really can only work inside Windows or WINE code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=74784641be7a9d44014960c931e829cf1b837c69
---
src/video_output/window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/video_output/window.c b/src/video_output/window.c
index 4a2498c..e12e75b 100644
--- a/src/video_output/window.c
+++ b/src/video_output/window.c
@@ -57,10 +57,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
const char *type;
switch (cfg->type) {
+#ifdef WIN32
case VOUT_WINDOW_TYPE_HWND:
type = "vout window hwnd";
window->hwnd = NULL;
break;
+#endif
case VOUT_WINDOW_TYPE_XID:
type = "vout window xid";
window->xid = 0;
More information about the vlc-devel
mailing list