30 May
2025
30 May
'25
11 p.m.
Nikolay Sivov (@nsivov) commented about dlls/mf/session.c:
static HRESULT WINAPI session_rate_control_GetRate(IMFRateControl *iface, BOOL *thin, float *rate) { struct media_session *session = impl_session_from_IMFRateControl(iface);
TRACE("%p, %p, %p.\n", iface, thin, rate);
- return IMFRateControl_GetRate(session->clock_rate_control, thin, rate); + if (thin) + *thin = session->presentation.thin_committed; + + return IMFRateControl_GetRate(session->clock_rate_control, NULL, rate); }
This should probably be a separate change, going together with SetRate(thin=false). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8184#note_105014