mfplay: Raise MFP_EVENT_TYPE_ERROR events on pipeline errors.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-04-16 15:36:07 +03:00 committed by Alexandre Julliard
parent ed3460571d
commit 2b4715142a
1 changed files with 6 additions and 0 deletions

View File

@ -1571,6 +1571,12 @@ static HRESULT WINAPI media_player_session_events_callback_Invoke(IMFAsyncCallba
break;
case MEError:
media_event_create(player, MFP_EVENT_TYPE_ERROR, event_status, NULL, &event);
break;
default:
;
}