Maarten Lankhorst : winegstreamer: Fix GSTInPin_EnumMediaTypes.
Module: wine Branch: master Commit: 4cbce245930e20f4f200496e15dbc68ae4323f93 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4cbce245930e20f4f200496e15... Author: Maarten Lankhorst <m.b.lankhorst(a)gmail.com> Date: Sun Nov 7 16:13:57 2010 +0100 winegstreamer: Fix GSTInPin_EnumMediaTypes. --- dlls/winegstreamer/gstdemux.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c index 3dabcc6..4f053f7 100644 --- a/dlls/winegstreamer/gstdemux.c +++ b/dlls/winegstreamer/gstdemux.c @@ -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,
participants (1)
-
Alexandre Julliard