From: Yuxuan Shui <yshui(a)codeweavers.com> --- dlls/winegstreamer/video_decoder.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/dlls/winegstreamer/video_decoder.c b/dlls/winegstreamer/video_decoder.c index be540876aa0..f6d678ee0a2 100644 --- a/dlls/winegstreamer/video_decoder.c +++ b/dlls/winegstreamer/video_decoder.c @@ -1332,14 +1332,16 @@ static HRESULT WINAPI media_object_SetOutputType(IMediaObject *iface, DWORD inde static HRESULT WINAPI media_object_GetInputCurrentType(IMediaObject *iface, DWORD index, DMO_MEDIA_TYPE *type) { - FIXME("iface %p, index %lu, type %p stub!\n", iface, index, type); - return E_NOTIMPL; + struct video_decoder *decoder = impl_from_IMediaObject(iface); + TRACE("iface %p, index %lu, type %p stub!\n", iface, index, type); + return CopyMediaType(type, &decoder->dmo_input_type); } static HRESULT WINAPI media_object_GetOutputCurrentType(IMediaObject *iface, DWORD index, DMO_MEDIA_TYPE *type) { - FIXME("iface %p, index %lu, type %p stub!\n", iface, index, type); - return E_NOTIMPL; + struct video_decoder *decoder = impl_from_IMediaObject(iface); + TRACE("iface %p, index %lu, type %p stub!\n", iface, index, type); + return CopyMediaType(type, &decoder->dmo_output_type); } static HRESULT WINAPI media_object_GetInputSizeInfo(IMediaObject *iface, DWORD index, DWORD *size, -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9571