Only add vulkan and wayland stuff for mirkwood mpv
This commit is contained in:
parent
8de5e4c0e5
commit
dbc2aaed26
1 changed files with 7 additions and 2 deletions
|
@ -9,8 +9,10 @@ hwdec-codecs=all
|
||||||
|
|
||||||
{%@@ if profile == "Mirkwood" @@%}
|
{%@@ if profile == "Mirkwood" @@%}
|
||||||
gpu-context=wayland
|
gpu-context=wayland
|
||||||
{%@@ elif profile == "Rivendell" @@%}
|
{%@@ endif @@%}
|
||||||
ao=alsa
|
|
||||||
|
{%@@ if profile == "mko-laptop" @@%}
|
||||||
|
script=~/bin/mpris.so
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
#############
|
#############
|
||||||
|
@ -104,8 +106,11 @@ ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]"
|
||||||
[best]
|
[best]
|
||||||
ytdl-format="bestvideo+bestaudio"
|
ytdl-format="bestvideo+bestaudio"
|
||||||
|
|
||||||
|
|
||||||
|
{%@@ if profile == "Mirkwood" @@%}
|
||||||
# Vulkan hwdec profile
|
# Vulkan hwdec profile
|
||||||
[vulkan]
|
[vulkan]
|
||||||
gpu-api=vulkan
|
gpu-api=vulkan
|
||||||
gpu-context=waylandvk
|
gpu-context=waylandvk
|
||||||
hwdec=vaapi-copy
|
hwdec=vaapi-copy
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue