Commit 4e57e3bf authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

quartz: Remove an object to IFilterGraph2 cast.

parent 716870ef
......@@ -1991,7 +1991,7 @@ static HRESULT WINAPI MediaControl_Run(IMediaControl *iface)
This->EcCompleteCount = 0;
if (This->defaultclock && !This->refClock)
IFilterGraph2_SetDefaultSyncSource((IFilterGraph2*)This);
IFilterGraph2_SetDefaultSyncSource(&This->IFilterGraph2_iface);
if (This->refClock)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment