Commit b7bc6dcf authored by Erich Hoover's avatar Erich Hoover Committed by Alexandre Julliard

quartz: Add support for EndOfStream in PullPin.

parent 9f7ef378
......@@ -726,9 +726,17 @@ HRESULT WINAPI PullPin_QueryAccept(IPin * iface, const AM_MEDIA_TYPE * pmt)
HRESULT WINAPI PullPin_EndOfStream(IPin * iface)
{
FIXME("(%p)->() stub\n", iface);
PullPin *This = (PullPin *)iface;
HRESULT hr = S_FALSE;
TRACE("(%p)->()\n", iface);
EnterCriticalSection(This->pin.pCritSec);
hr = SendFurther( iface, deliver_endofstream, NULL, NULL );
SetEvent(This->hEventStateChanged);
LeaveCriticalSection(This->pin.pCritSec);
return SendFurther( iface, deliver_endofstream, NULL, NULL );
return hr;
}
HRESULT WINAPI PullPin_BeginFlush(IPin * iface)
......
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