Don't set vaapi Option for softhddevice if a nvidia card has been detected

This commit is contained in:
Alexander Grothe 2019-04-08 22:01:42 +02:00
parent 9d61e71246
commit f4788484a9
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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: