Re: [PATCH v5 0/1] MR5924: Draft: mfmediaengine: Implement SVR.
Nikolay Sivov (@nsivov) commented about dlls/mfmediaengine/video_frame_sink.c:
+ return CONTAINING_RECORD(iface, struct video_frame_sink, IMFMediaEventGenerator_iface); +} + +static struct video_frame_sink *impl_from_IMFStreamSink(IMFStreamSink *iface) +{ + return CONTAINING_RECORD(iface, struct video_frame_sink, IMFStreamSink_iface); +} + +static struct video_frame_sink *impl_from_IMFMediaTypeHandler(IMFMediaTypeHandler *iface) +{ + return CONTAINING_RECORD(iface, struct video_frame_sink, IMFMediaTypeHandler_iface); +} + +static void video_frame_sink_samples_release(struct video_frame_sink *sink) +{ + for (int i = 0; i < ARRAYSIZE(sink->sample); i++) ARRAY_SIZE is more common throughout the codebase.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/5924#note_88682
participants (1)
-
Nikolay Sivov (@nsivov)