Commit cc09f50a authored by Laurent Aimar's avatar Laurent Aimar

Fixed video request when the qt4 embedded slot is already taken.

parent ec3579fe
......@@ -518,6 +518,10 @@ static int WindowOpen (vlc_object_t *obj)
wnd->handle = (*miP)->requestVideo (wnd->vout, &wnd->pos_x, &wnd->pos_y,
&wnd->width, &wnd->height);
windowLock.unlock ();
if (!wnd->handle)
return VLC_EGENERIC;
wnd->control = WindowControl;
wnd->p_private = miP;
return VLC_SUCCESS;
......
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