Nikolay Sivov : mf/session: Forward more events to the application.

Alexandre Julliard julliard at winehq.org
Mon Apr 12 16:11:26 CDT 2021


Module: wine
Branch: master
Commit: 662095c6b3e1f039b70da759ff91279b61fd5254
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=662095c6b3e1f039b70da759ff91279b61fd5254

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Apr 12 12:19:55 2021 +0300

mf/session: Forward more events to the application.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mf/session.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dlls/mf/session.c b/dlls/mf/session.c
index 6e0f65e6998..925a8c93d20 100644
--- a/dlls/mf/session.c
+++ b/dlls/mf/session.c
@@ -3242,6 +3242,13 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
             LeaveCriticalSection(&session->cs);
             break;
 
+        case MEExtendedType:
+        case MERendererEvent:
+        case MEStreamSinkFormatChanged:
+
+            IMFMediaEventQueue_QueueEvent(session->event_queue, event);
+            break;
+
         case MENewStream:
             stream = (IMFMediaStream *)value.punkVal;
 




More information about the wine-cvs mailing list