quartz: OutputPin_DeliverNewSegment() is unused so remove it.

Francois Gouget fgouget at free.fr
Wed Jan 7 17:04:55 CST 2009


---

Rob and Maarten say it's ok.

 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 612085e..bdfccd7 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);
-- 
1.5.6.5




More information about the wine-patches mailing list