quartz: Fix inverted logic in memallocator.
This commit is contained in:
parent
1e9dbcc512
commit
2f736c4a5a
|
@ -610,9 +610,9 @@ static HRESULT WINAPI StdMediaSample2_SetPreroll(IMediaSample2 * iface, BOOL bIs
|
|||
TRACE("(%s)\n", bIsPreroll ? "TRUE" : "FALSE");
|
||||
|
||||
if (bIsPreroll)
|
||||
This->props.dwSampleFlags &= ~AM_SAMPLE_PREROLL;
|
||||
else
|
||||
This->props.dwSampleFlags |= AM_SAMPLE_PREROLL;
|
||||
else
|
||||
This->props.dwSampleFlags &= ~AM_SAMPLE_PREROLL;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue