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:
|
||||
path: /etc/vdr/conf.avail/softhddevice.conf
|
||||
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
|
||||
user:
|
||||
|
@ -48,7 +48,7 @@
|
||||
lineinfile:
|
||||
path: /etc/vdr/conf.avail/softhddevice.conf
|
||||
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
|
||||
user:
|
||||
|
Loading…
Reference in New Issue
Block a user