11 Sep
2023
11 Sep
'23
3:19 p.m.
Nikolay Sivov (@nsivov) commented about dlls/mf/tests/mf.c:
IMFSampleGrabberSinkCallback_Release(grabber_callback); }
+/* create a media session with the specified source and sink */ +static void create_media_session(IMFMediaSource *source, IMFActivate *sink_activate, + IMFMediaSession **session) +{
Having a helper for that is fine, but it's better to call it create_test_topology() and make it do just that, instead of creating session, topology, and setting topology. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3572#note_44907