Commit ae7e5b14 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

qcap: Make use of a few more strmbase implementations.

parent b7824177
...@@ -753,16 +753,6 @@ static HRESULT WINAPI VfwPin_QueryInterface(IPin * iface, REFIID riid, LPVOID * ...@@ -753,16 +753,6 @@ static HRESULT WINAPI VfwPin_QueryInterface(IPin * iface, REFIID riid, LPVOID *
return E_NOINTERFACE; return E_NOINTERFACE;
} }
static ULONG WINAPI VfwPin_AddRef(IPin * iface)
{
VfwPinImpl *This = (VfwPinImpl *)iface;
ULONG refCount = InterlockedIncrement(&This->pin.pin.refCount);
TRACE("() -> new refcount: %u\n", refCount);
return refCount;
}
static ULONG WINAPI static ULONG WINAPI
VfwPin_Release(IPin * iface) VfwPin_Release(IPin * iface)
{ {
...@@ -802,24 +792,6 @@ VfwPin_QueryInternalConnections(IPin * iface, IPin ** apPin, ULONG * cPin) ...@@ -802,24 +792,6 @@ VfwPin_QueryInternalConnections(IPin * iface, IPin ** apPin, ULONG * cPin)
return E_NOTIMPL; return E_NOTIMPL;
} }
static HRESULT WINAPI VfwPin_EndOfStream(IPin * iface)
{
TRACE("()\n");
return E_UNEXPECTED;
}
static HRESULT WINAPI VfwPin_BeginFlush(IPin * iface)
{
TRACE("(%p)->()\n", iface);
return E_UNEXPECTED;
}
static HRESULT WINAPI VfwPin_EndFlush(IPin * iface)
{
TRACE("(%p)->()\n", iface);
return E_UNEXPECTED;
}
static HRESULT WINAPI static HRESULT WINAPI
VfwPin_NewSegment(IPin * iface, REFERENCE_TIME tStart, VfwPin_NewSegment(IPin * iface, REFERENCE_TIME tStart,
REFERENCE_TIME tStop, double dRate) REFERENCE_TIME tStop, double dRate)
...@@ -832,7 +804,7 @@ VfwPin_NewSegment(IPin * iface, REFERENCE_TIME tStart, ...@@ -832,7 +804,7 @@ VfwPin_NewSegment(IPin * iface, REFERENCE_TIME tStart,
static const IPinVtbl VfwPin_Vtbl = static const IPinVtbl VfwPin_Vtbl =
{ {
VfwPin_QueryInterface, VfwPin_QueryInterface,
VfwPin_AddRef, BasePinImpl_AddRef,
VfwPin_Release, VfwPin_Release,
BaseOutputPinImpl_Connect, BaseOutputPinImpl_Connect,
BaseOutputPinImpl_ReceiveConnection, BaseOutputPinImpl_ReceiveConnection,
...@@ -845,8 +817,8 @@ static const IPinVtbl VfwPin_Vtbl = ...@@ -845,8 +817,8 @@ static const IPinVtbl VfwPin_Vtbl =
BasePinImpl_QueryAccept, BasePinImpl_QueryAccept,
VfwPin_EnumMediaTypes, VfwPin_EnumMediaTypes,
VfwPin_QueryInternalConnections, VfwPin_QueryInternalConnections,
VfwPin_EndOfStream, BaseOutputPinImpl_EndOfStream,
VfwPin_BeginFlush, BaseOutputPinImpl_BeginFlush,
VfwPin_EndFlush, BaseOutputPinImpl_EndFlush,
VfwPin_NewSegment VfwPin_NewSegment
}; };
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