Maarten Lankhorst : quartz: Fix tiny bug in IGraphBuilder_Render.
Alexandre Julliard
julliard at winehq.org
Mon Jul 7 09:19:05 CDT 2008
Module: wine
Branch: master
Commit: 6e4288ee70957c3823ac7fb5879df1b130362524
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e4288ee70957c3823ac7fb5879df1b130362524
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Fri Jul 4 16:42:59 2008 -0700
quartz: Fix tiny bug in IGraphBuilder_Render.
---
dlls/quartz/filtergraph.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 9f6f79a..8a5ece7 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -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;
More information about the wine-cvs
mailing list