The condition to change the fps is based on this variable. As it is never changed outside of the initialization, it tries to set a new configuration each time where the target fps is too far way than the current fps.
The order of the set (from MS_VIDEO_ENCODER_SET_CONFIGURATION) is based on configure_video_source().
inside !794 (merged)