Module: wine Branch: master Commit: 14d44a06ba99d5ecd327f783615cf88116f44aa0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=14d44a06ba99d5ecd327f78361...
Author: Francois Gouget fgouget@free.fr Date: Thu Jan 8 00:04:55 2009 +0100
quartz: OutputPin_DeliverNewSegment() is unused so remove it.
---
dlls/quartz/pin.c | 16 ---------------- dlls/quartz/pin.h | 1 - 2 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c index 00165e5..78116fc 100644 --- a/dlls/quartz/pin.c +++ b/dlls/quartz/pin.c @@ -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; diff --git a/dlls/quartz/pin.h b/dlls/quartz/pin.h index df0f4fd..2cbaddb 100644 --- a/dlls/quartz/pin.h +++ b/dlls/quartz/pin.h @@ -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);