Module: wine Branch: master Commit: 6e4288ee70957c3823ac7fb5879df1b130362524 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e4288ee70957c3823ac7fb587...
Author: Maarten Lankhorst m.b.lankhorst@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;