4 Dec
2024
4 Dec
'24
7:42 p.m.
Nikolay Sivov (@nsivov) commented about dlls/mfmediaengine/video_frame_sink.c:
+ free(sink); + } + + return refcount; +} + +static HRESULT WINAPI video_frame_sink_GetCharacteristics(IMFMediaSink *iface, DWORD *flags) +{ + struct video_frame_sink *sink = impl_from_IMFMediaSink(iface); + + TRACE("%p, %p.\n", iface, flags); + + if (sink->is_shut_down) + return MF_E_SHUTDOWN; + + *flags = MEDIASINK_FIXED_STREAMS | MEDIASINK_RATELESS | MEDIASINK_CAN_PREROLL; CAN_PREROLL here is a no-op, because you don't implement preroll interface. So either remove it, or add the interface.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5924#note_89768