16 Oct
2023
16 Oct
'23
11:45 p.m.
Zebediah Figura (@zfigura) commented about dlls/winegstreamer/quartz_parser.c:
static HRESULT WINAPI stream_select_Count(IAMStreamSelect *iface, DWORD *count) { - FIXME("iface %p, count %p, stub!\n", iface, count); - return E_NOTIMPL; + struct parser *filter = impl_from_IAMStreamSelect(iface); + TRACE("filter %p, count %p\n", filter, count); + if (filter->sink.pin.peer) + *count = wg_parser_get_stream_count(filter->wg_parser); + else + *count = 0; + return S_OK;
This probably needs to take the filter CS. Same for Info() for that matter. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3938#note_48909