Skip to content

Commit 353cc14

Browse files
committed
fix(demos): camera: fix the display of video profiles
1 parent 89c86ae commit 353cc14

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demos/camera/src/main/java/io/github/thibaultbee/streampack/app/ui/settings/SettingsFragment.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ class SettingsFragment : PreferenceFragmentCompat() {
191191
}
192192
videoEncoderListPreference.setOnPreferenceChangeListener { _, newValue ->
193193
loadVideoSettings(newValue as String)
194+
videoProfileListPreference.value = VideoConfig.getBestProfile(newValue).toString()
194195
true
195196
}
196197

0 commit comments

Comments
 (0)