mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
mf: Send MEError when IMFStreamSink_ProcessSample fails.
This commit is contained in:
parent
ebd789a0a6
commit
f39e0b2bd6
1 changed files with 3 additions and 0 deletions
|
@ -3706,7 +3706,10 @@ static void session_deliver_sample_to_node(struct media_session *session, struct
|
|||
if (sample)
|
||||
{
|
||||
if (FAILED(hr = IMFStreamSink_ProcessSample(topo_node->object.sink_stream, sample)))
|
||||
{
|
||||
WARN("Stream sink failed to process sample, hr %#lx.\n", hr);
|
||||
IMFMediaEventQueue_QueueEventParamVar(session->event_queue, MEError, &GUID_NULL, hr, NULL);
|
||||
}
|
||||
}
|
||||
else if (FAILED(hr = IMFStreamSink_PlaceMarker(topo_node->object.sink_stream, MFSTREAMSINK_MARKER_ENDOFSEGMENT,
|
||||
NULL, NULL)))
|
||||
|
|
Loading…
Reference in a new issue