Send both frame rate and refresh rate in description

This commit is contained in:
Patrick Nicolas
2026-04-27 10:26:58 +02:00
parent 775022d065
commit e21b1adf1d
6 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -111,10 +111,10 @@ void scenes::stream::operator()(to_headset::video_stream_description && desc)
void scenes::stream::operator()(to_headset::refresh_rate_change && rate)
{
session.set_refresh_rate(rate.fps);
session.set_refresh_rate(rate.hz);
std::shared_lock lock(decoder_mutex);
if (video_stream_description)
video_stream_description->fps = rate.fps;
video_stream_description->refresh_rate = rate.hz;
}
void scenes::stream::operator()(to_headset::stream_tab_change && tab)