quartz: OutputPin_DeliverNewSegment() is unused so remove it.
This commit is contained in:
parent
4256608ed2
commit
14d44a06ba
|
@ -953,22 +953,6 @@ HRESULT OutputPin_SendSample(OutputPin * This, IMediaSample * pSample)
|
|||
return hr;
|
||||
}
|
||||
|
||||
HRESULT OutputPin_DeliverNewSegment(OutputPin * This, REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate)
|
||||
{
|
||||
HRESULT hr;
|
||||
|
||||
EnterCriticalSection(This->pin.pCritSec);
|
||||
{
|
||||
if (!This->pin.pConnectedTo)
|
||||
hr = VFW_E_NOT_CONNECTED;
|
||||
else
|
||||
hr = IPin_NewSegment(This->pin.pConnectedTo, tStart, tStop, dRate);
|
||||
}
|
||||
LeaveCriticalSection(This->pin.pCritSec);
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
HRESULT OutputPin_CommitAllocator(OutputPin * This)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
|
|
|
@ -187,7 +187,6 @@ HRESULT OutputPin_DecommitAllocator(OutputPin * This);
|
|||
HRESULT OutputPin_GetDeliveryBuffer(OutputPin * This, IMediaSample ** ppSample, REFERENCE_TIME * tStart, REFERENCE_TIME * tStop, DWORD dwFlags);
|
||||
HRESULT OutputPin_SendSample(OutputPin * This, IMediaSample * pSample);
|
||||
HRESULT OutputPin_DeliverDisconnect(OutputPin * This);
|
||||
HRESULT OutputPin_DeliverNewSegment(OutputPin * This, REFERENCE_TIME tStart, REFERENCE_TIME tStop, double dRate);
|
||||
|
||||
/* Pull Pin */
|
||||
HRESULT WINAPI PullPin_ReceiveConnection(IPin * iface, IPin * pReceivePin, const AM_MEDIA_TYPE * pmt);
|
||||
|
|
Loading…
Reference in New Issue