Commit dc4d6070 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

mciqtz32: Do not allow MCIQTZ_mciUpdate to interrupt a playing video.

parent e2b3a7f4
......@@ -822,6 +822,9 @@ static DWORD MCIQTZ_mciUpdate(UINT wDevID, DWORD dwFlags, LPMCI_DGV_UPDATE_PARMS
LONG visible = OATRUE;
res = MCIERR_INTERNAL;
IMediaControl_GetState(wma->pmctrl, -1, &state);
if (state == State_Running)
return MCIERR_UNSUPPORTED_FUNCTION;
/* If in stopped state, nothing has been drawn to screen
* moving to pause, which is needed for the old dib renderer, will result
* in a single frame drawn, so hide the window here */
......
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