mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
win-dshow: Ensure autoselected FPS updates formats
Fix an issue where if the FPS property is set to "Match Output FPS" it will not show all the available video formats.
This commit is contained in:
@@ -1511,9 +1511,11 @@ static bool DeviceIntervalChanged(obs_properties_t *props, obs_property_t *p,
|
||||
}
|
||||
}
|
||||
|
||||
if (listed_val != val)
|
||||
if (listed_val != val) {
|
||||
obs_data_set_autoselect_int(settings, FRAME_INTERVAL,
|
||||
listed_val);
|
||||
val = listed_val;
|
||||
}
|
||||
|
||||
} else {
|
||||
obs_data_unset_autoselect_value(settings, FRAME_INTERVAL);
|
||||
|
||||
Reference in New Issue
Block a user