Only add vulkan and wayland stuff for mirkwood mpv

This commit is contained in:
Marko Korhonen 2021-07-16 11:29:24 +03:00
parent 8eced427bf
commit fa9dccc7a2
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5

View file

@ -9,8 +9,10 @@ hwdec-codecs=all
{%@@ if profile == "Mirkwood" @@%}
gpu-context=wayland
{%@@ elif profile == "Rivendell" @@%}
ao=alsa
{%@@ endif @@%}
{%@@ if profile == "mko-laptop" @@%}
script=~/bin/mpris.so
{%@@ endif @@%}
#############
@ -104,8 +106,11 @@ ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]"
[best]
ytdl-format="bestvideo+bestaudio"
{%@@ if profile == "Mirkwood" @@%}
# Vulkan hwdec profile
[vulkan]
gpu-api=vulkan
gpu-context=waylandvk
hwdec=vaapi-copy
{%@@ endif @@%}