winegstreamer: Fix GSTInPin_EnumMediaTypes.

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

View File

@ -1643,6 +1643,15 @@ static HRESULT WINAPI GSTInPin_QueryInterface(IPin * iface, REFIID riid, LPVOID
return E_NOINTERFACE;
}
static HRESULT WINAPI GSTInPin_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 GST_InputPin_Vtbl = {
GSTInPin_QueryInterface,
BasePinImpl_AddRef,
@ -1656,7 +1665,7 @@ static const IPinVtbl GST_InputPin_Vtbl = {
BasePinImpl_QueryDirection,
BasePinImpl_QueryId,
GSTInPin_QueryAccept,
BasePinImpl_EnumMediaTypes,
GSTInPin_EnumMediaTypes,
BasePinImpl_QueryInternalConnections,
GSTInPin_EndOfStream,
GSTInPin_BeginFlush,