From 21deb265577d700a92d3c8dc268ebd22860d68a4 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Thu, 9 Apr 2015 18:09:22 -0700 Subject: [PATCH] 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. --- plugins/win-dshow/win-dshow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/win-dshow/win-dshow.cpp b/plugins/win-dshow/win-dshow.cpp index 6f85680b3..326527729 100644 --- a/plugins/win-dshow/win-dshow.cpp +++ b/plugins/win-dshow/win-dshow.cpp @@ -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);