Revert "quartz: Only enumerate renderers if bRender is set in filtermapper.".

This reverts commit b157969d49.
This commit is contained in:
Alexander Dorofeyev 2008-06-29 15:07:08 +03:00 committed by Alexandre Julliard
parent 58901f10f5
commit dcc9032ed0
1 changed files with 1 additions and 1 deletions

View File

@ -1070,7 +1070,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));