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:
jp9000 2015-04-09 18:09:22 -07:00
parent 75bc7d3153
commit 21deb26557

View File

@ -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);