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:
parent
ed3460571d
commit
2b4715142a
|
@ -1571,6 +1571,12 @@ static HRESULT WINAPI media_player_session_events_callback_Invoke(IMFAsyncCallba
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MEError:
|
||||||
|
|
||||||
|
media_event_create(player, MFP_EVENT_TYPE_ERROR, event_status, NULL, &event);
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue