Don't set vaapi Option for softhddevice if a nvidia card has been detected
This commit is contained in:
parent
9d61e71246
commit
f4788484a9
@ -2578,7 +2578,7 @@ preferred_refreshrates:
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/vdr/conf.avail/softhddevice.conf
|
path: /etc/vdr/conf.avail/softhddevice.conf
|
||||||
line: '-v va-api'
|
line: '-v va-api'
|
||||||
state: '{{ "present" if intel_detected else "absent" }}'
|
state: '{{ "present" if (not nvidia_detected and intel_detected) else "absent" }}'
|
||||||
|
|
||||||
- name: add a login shell for the user vdr
|
- name: add a login shell for the user vdr
|
||||||
user:
|
user:
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/vdr/conf.avail/softhddevice.conf
|
path: /etc/vdr/conf.avail/softhddevice.conf
|
||||||
line: '-v va-api'
|
line: '-v va-api'
|
||||||
state: '{{ "present" if intel_detected else "absent" }}'
|
state: '{{ "present" if (not nvidia_detected and intel_detected) else "absent" }}'
|
||||||
|
|
||||||
- name: add a login shell for the user vdr
|
- name: add a login shell for the user vdr
|
||||||
user:
|
user:
|
||||||
|
Loading…
Reference in New Issue
Block a user