Andrew Eikum : mf/session: Forward MR_STREAM_VOLUME_SERVICE requests to SAR node.

Alexandre Julliard julliard at winehq.org
Thu Oct 28 16:07:44 CDT 2021


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

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Thu Oct 28 17:33:01 2021 +0300

mf/session: Forward MR_STREAM_VOLUME_SERVICE requests to SAR node.

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

---

 dlls/mf/session.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/mf/session.c b/dlls/mf/session.c
index 0377b19c51f..e3d77864494 100644
--- a/dlls/mf/session.c
+++ b/dlls/mf/session.c
@@ -2080,7 +2080,8 @@ static HRESULT WINAPI session_get_service_GetService(IMFGetService *iface, REFGU
     {
         hr = session_get_video_render_service(session, service, riid, obj);
     }
-    else if (IsEqualGUID(service, &MR_POLICY_VOLUME_SERVICE))
+    else if (IsEqualGUID(service, &MR_POLICY_VOLUME_SERVICE) ||
+            IsEqualGUID(service, &MR_STREAM_VOLUME_SERVICE))
     {
         hr = session_get_audio_render_service(session, service, riid, obj);
     }




More information about the wine-cvs mailing list