mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
quartz: Add support for EndOfStream in PullPin.
This commit is contained in:
parent
9f7ef3786a
commit
b7bc6dcfae
1 changed files with 10 additions and 2 deletions
|
@ -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;
|
||||
|
||||
return SendFurther( iface, deliver_endofstream, NULL, NULL );
|
||||
TRACE("(%p)->()\n", iface);
|
||||
|
||||
EnterCriticalSection(This->pin.pCritSec);
|
||||
hr = SendFurther( iface, deliver_endofstream, NULL, NULL );
|
||||
SetEvent(This->hEventStateChanged);
|
||||
LeaveCriticalSection(This->pin.pCritSec);
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
HRESULT WINAPI PullPin_BeginFlush(IPin * iface)
|
||||
|
|
Loading…
Reference in a new issue