mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-20 13:08:06 +00:00
quartz: Fix tiny bug in IGraphBuilder_Render.
This commit is contained in:
parent
90d633cdd1
commit
6e4288ee70
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue