Commit d2abb6a4 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfplay: Start playback on player creation automatically, when enabled.

parent 352da005
......@@ -1977,6 +1977,9 @@ HRESULT WINAPI MFPCreateMediaPlayer(const WCHAR *url, BOOL start_playback, MFP_C
WARN("Failed to set media item, hr %#x.\n", hr);
goto failed;
}
if (start_playback)
IMFPMediaPlayer_Play(&object->IMFPMediaPlayer_iface);
}
*player = &object->IMFPMediaPlayer_iface;
......
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