Commit 74784641 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

HWND window really can only work inside Windows or WINE code

parent ec468212
...@@ -57,10 +57,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj, ...@@ -57,10 +57,12 @@ vout_window_t *vout_window_New(vlc_object_t *obj,
const char *type; const char *type;
switch (cfg->type) { switch (cfg->type) {
#ifdef WIN32
case VOUT_WINDOW_TYPE_HWND: case VOUT_WINDOW_TYPE_HWND:
type = "vout window hwnd"; type = "vout window hwnd";
window->hwnd = NULL; window->hwnd = NULL;
break; break;
#endif
case VOUT_WINDOW_TYPE_XID: case VOUT_WINDOW_TYPE_XID:
type = "vout window xid"; type = "vout window xid";
window->xid = 0; window->xid = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment