quartz: Fix tiny bug in IGraphBuilder_Render.

This commit is contained in:
Maarten Lankhorst 2008-07-04 16:42:59 -07:00 committed by Alexandre Julliard
parent 90d633cdd1
commit 6e4288ee70
1 changed files with 1 additions and 1 deletions

View File

@ -1257,7 +1257,7 @@ static HRESULT WINAPI FilterGraph2_Render(IFilterGraph2 *iface, IPin *ppinOut)
TRACE("SubType %s\n", debugstr_guid(&mt->subtype));
/* Only enumerate once, this doesn't account for all previous ones, but this should be enough nonetheless */
if (IsEqualIID(&tab[0], &mt->majortype) && IsEqualIID(&tab[0], &mt->majortype))
if (IsEqualIID(&tab[0], &mt->majortype) && IsEqualIID(&tab[1], &mt->subtype))
{
DeleteMediaType(mt);
continue;