[PATCH] mf/sar: Only require MF_MEDIATYPE_EQUAL_FORMAT_DATA in IsMediaTypeSupported.
Derek Lesho
dlesho at codeweavers.com
Wed Dec 2 13:40:45 CST 2020
On 12/2/20 2:20 PM, Derek Lesho wrote:
> Signed-off-by: Derek Lesho <dlesho at codeweavers.com>
> ---
> dlls/mf/sar.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/dlls/mf/sar.c b/dlls/mf/sar.c
> index e318576e80e..20bb052cb7a 100644
> --- a/dlls/mf/sar.c
> +++ b/dlls/mf/sar.c
> @@ -1482,6 +1482,9 @@ static HRESULT WINAPI audio_renderer_stream_type_handler_IsMediaTypeSupported(IM
> hr = IMFMediaType_IsEqual(renderer->media_type, in_type, &flags);
> LeaveCriticalSection(&renderer->cs);
>
> + if (flags & MF_MEDIATYPE_EQUAL_FORMAT_DATA)
> + hr = S_OK;
> +
> return hr != S_OK ? MF_E_INVALIDMEDIATYPE : hr;
> }
>
Please reject, looks like this was already fixed by Nikolay yesterday,
sorry.
More information about the wine-devel
mailing list