From 0b98026e2d0fb99aa551b0a171525eee9a6aa502 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 10 Feb 2022 11:21:30 +0300 Subject: [PATCH] mfmediaengine: Use resolver functionality for content type resolution. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/mfmediaengine/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mfmediaengine/main.c b/dlls/mfmediaengine/main.c index fb8b4b8e9ae..5bfb35efbac 100644 --- a/dlls/mfmediaengine/main.c +++ b/dlls/mfmediaengine/main.c @@ -1435,7 +1435,7 @@ static HRESULT media_engine_set_source(struct media_engine *engine, IMFByteStrea if (url || bytestream) { - flags = MF_RESOLUTION_MEDIASOURCE; + flags = MF_RESOLUTION_MEDIASOURCE | MF_RESOLUTION_CONTENT_DOES_NOT_HAVE_TO_MATCH_EXTENSION_OR_MIME_TYPE; if (engine->flags & MF_MEDIA_ENGINE_DISABLE_LOCAL_PLUGINS) flags |= MF_RESOLUTION_DISABLE_LOCAL_PLUGINS;