Only add vulkan and wayland stuff for mirkwood mpv
This commit is contained in:
parent
8eced427bf
commit
fa9dccc7a2
1 changed files with 7 additions and 2 deletions
|
@ -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 @@%}
|
||||
|
|
Loading…
Reference in a new issue