[PATCH] mf/session: Forward MR_STREAM_VOLUME_SERVICE requests to SAR node.

Nikolay Sivov nsivov at codeweavers.com
Thu Oct 28 09:33:01 CDT 2021


From: Andrew Eikum <aeikum at codeweavers.com>

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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);
     }
-- 
2.33.0




More information about the wine-devel mailing list