Commit 910b95d3 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

mciqtz32: Fix mciOpen.

parent baa7dcb9
...@@ -225,6 +225,7 @@ static DWORD MCIQTZ_mciOpen(UINT wDevID, DWORD dwFlags, ...@@ -225,6 +225,7 @@ static DWORD MCIQTZ_mciOpen(UINT wDevID, DWORD dwFlags,
} }
else if (style) else if (style)
IVideoWindow_put_WindowStyle(wma->vidwin, style); IVideoWindow_put_WindowStyle(wma->vidwin, style);
IBasicVideo_GetVideoSize(wma->vidbasic, &rc.right, &rc.bottom);
wma->opened = TRUE; wma->opened = TRUE;
if (dwFlags & MCI_NOTIFY) if (dwFlags & MCI_NOTIFY)
...@@ -251,6 +252,7 @@ err: ...@@ -251,6 +252,7 @@ err:
if (wma->uninit) if (wma->uninit)
CoUninitialize(); CoUninitialize();
wma->uninit = 0;
return MCIERR_INTERNAL; return MCIERR_INTERNAL;
} }
......
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