quartz: Fix PullPin_EnumMediaTypes.
This commit is contained in:
parent
ccc8141b82
commit
27c120cf58
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue