From c75ddf1f2bea91fc01f38f09126d165b760a8d99 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Mon, 16 Jun 2008 17:27:09 -0700 Subject: [PATCH] quartz: Only enumerate renderers if bRender is set in the filtermapper --- dlls/quartz/filtermapper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/quartz/filtermapper.c b/dlls/quartz/filtermapper.c index eeba0b1..b54ccea 100644 --- a/dlls/quartz/filtermapper.c +++ b/dlls/quartz/filtermapper.c @@ -1071,7 +1071,7 @@ static HRESULT WINAPI FilterMapper2_EnumMatchingFilters( const REGFILTERPINS2 * rfp2 = rf2.u.s1.rgPins2 + i; bInputMatch = bInputMatch || (!(rfp2->dwFlags & REG_PINFLAG_B_OUTPUT) && - (!bRender || (rfp2->dwFlags & REG_PINFLAG_B_RENDERER)) && + (!bRender == !(rfp2->dwFlags & REG_PINFLAG_B_RENDERER)) && MatchTypes(bExactMatch, rfp2->nMediaTypes, rfp2->lpMediaType, cInputTypes, pInputTypes)); bOutputMatch = bOutputMatch || ((rfp2->dwFlags & REG_PINFLAG_B_OUTPUT) && MatchTypes(bExactMatch, rfp2->nMediaTypes, rfp2->lpMediaType, cOutputTypes, pOutputTypes)); -- 1.5.4.1