Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/mfplay/player.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/dlls/mfplay/player.c b/dlls/mfplay/player.c index 0bbe59f4c90..c4913134901 100644 --- a/dlls/mfplay/player.c +++ b/dlls/mfplay/player.c @@ -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;