13 Sep
2023
13 Sep
'23
7:46 a.m.
Rémi Bernon (@rbernon) commented about dlls/winegstreamer/main.c:
WINE_UNIX_CALL(unix_wg_muxer_destroy, &muxer); }
+HRESULT wg_muxer_add_stream(wg_muxer_t muxer, UINT32 stream_id, const struct wg_format *format) +{ + struct wg_muxer_add_stream_params params = + { + .muxer = muxer, + .stream_id = stream_id, + .format = format, + }; + + TRACE("muxer %#I64x, stream_id %u, format %p.\n", muxer, stream_id, format); + + return WINE_UNIX_CALL(unix_wg_muxer_add_stream, ¶ms);
I missed it in `wg_muxer_created` but I don't think we should cast NSTATUS as HRESULT implicitly. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3810#note_45156