diff options
author | smp79 <sergey79@gmail.com> | 2024-05-22 19:24:02 +0300 |
---|---|---|
committer | smp79 <sergey79@gmail.com> | 2024-05-22 19:24:02 +0300 |
commit | 36c33dbc4473c03bfecfa21e7074312fe2dc0ae1 (patch) | |
tree | 5216f5165e65a14611db3aaf56aa568e3065a257 /system | |
parent | 3b2688a153ed95807961f5a39a6e11a681469e51 (diff) |
VideoPlayer: add setting for using VAAPI AVC
Diffstat (limited to 'system')
-rw-r--r-- | system/settings/linux.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/settings/linux.xml b/system/settings/linux.xml index 531974f3f4..c99bd89527 100644 --- a/system/settings/linux.xml +++ b/system/settings/linux.xml @@ -149,6 +149,18 @@ <default>true</default> <control type="toggle" /> </setting> + <setting id="videoplayer.usevaapiavc" type="boolean" parent="videoplayer.usevaapi" label="13470" help="13471"> + <requirement>HAVE_LIBVA</requirement> + <visible>false</visible> + <dependencies> + <dependency type="enable"> + <condition setting="videoplayer.usevaapi" operator="is">true</condition> + </dependency> + </dependencies> + <level>3</level> + <default>true</default> + <control type="toggle" /> + </setting> <setting id="videoplayer.prefervaapirender" type="boolean" parent="videoplayer.usevaapi" label="13457" help="36433"> <requirement>HAVE_LIBVA</requirement> <visible>false</visible> |