Commit 12d72c89 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz/filtergraph: Also set the default sync source if necessary in IMediaControl_Pause().

parent 13a1dfd7
......@@ -2273,6 +2273,9 @@ static HRESULT WINAPI MediaControl_Pause(IMediaControl *iface)
if (This->state == State_Paused)
goto out;
if (This->defaultclock && !This->refClock)
IFilterGraph2_SetDefaultSyncSource(&This->IFilterGraph2_iface);
if (This->state == State_Running && This->refClock && This->start_time >= 0)
IReferenceClock_GetTime(This->refClock, &This->pause_time);
else
......
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