quartz: Fix PullPin_EnumMediaTypes.

This commit is contained in:
Maarten Lankhorst 2010-11-07 16:13:56 +01:00 committed by Alexandre Julliard
parent ccc8141b82
commit 27c120cf58
1 changed files with 10 additions and 1 deletions

View File

@ -761,6 +761,15 @@ static HRESULT WINAPI Parser_PullPin_ReceiveConnection(IPin * iface, IPin * pRec
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 =
{
PullPin_QueryInterface,
@ -775,7 +784,7 @@ static const IPinVtbl Parser_InputPin_Vtbl =
BasePinImpl_QueryDirection,
BasePinImpl_QueryId,
PullPin_QueryAccept,
BasePinImpl_EnumMediaTypes,
Parser_PullPin_EnumMediaTypes,
BasePinImpl_QueryInternalConnections,
PullPin_EndOfStream,
PullPin_BeginFlush,