Commit 27c120cf authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Fix PullPin_EnumMediaTypes.

parent ccc8141b
...@@ -761,6 +761,15 @@ static HRESULT WINAPI Parser_PullPin_ReceiveConnection(IPin * iface, IPin * pRec ...@@ -761,6 +761,15 @@ static HRESULT WINAPI Parser_PullPin_ReceiveConnection(IPin * iface, IPin * pRec
return hr; return hr;
} }
static HRESULT WINAPI Parser_PullPin_EnumMediaTypes(IPin *iface, IEnumMediaTypes **ppEnum)
{
BasePin *This = (BasePin *)iface;
TRACE("(%p/%p)->(%p)\n", This, iface, ppEnum);
return EnumMediaTypes_Construct(This, BasePinImpl_GetMediaType, BasePinImpl_GetMediaTypeVersion, ppEnum);
}
static const IPinVtbl Parser_InputPin_Vtbl = static const IPinVtbl Parser_InputPin_Vtbl =
{ {
PullPin_QueryInterface, PullPin_QueryInterface,
...@@ -775,7 +784,7 @@ static const IPinVtbl Parser_InputPin_Vtbl = ...@@ -775,7 +784,7 @@ static const IPinVtbl Parser_InputPin_Vtbl =
BasePinImpl_QueryDirection, BasePinImpl_QueryDirection,
BasePinImpl_QueryId, BasePinImpl_QueryId,
PullPin_QueryAccept, PullPin_QueryAccept,
BasePinImpl_EnumMediaTypes, Parser_PullPin_EnumMediaTypes,
BasePinImpl_QueryInternalConnections, BasePinImpl_QueryInternalConnections,
PullPin_EndOfStream, PullPin_EndOfStream,
PullPin_BeginFlush, PullPin_BeginFlush,
......
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