Add wayland variables and fix termux dotdrop profile

This commit is contained in:
Marko Korhonen 2022-08-17 21:37:52 +03:00
parent 914df5f436
commit 6523521f48
4 changed files with 21 additions and 17 deletions

View file

@ -7,9 +7,10 @@ vo=gpu
hwdec=vaapi
hwdec-codecs=all
{%@@ if profile == "Mirkwood" or profile == "Moria" @@%}
{%@@ if wayland @@%}
gpu-context=wayland
{%@@ elif profile == "mko-laptop" @@%}
{%@@ endif @@%}
{%@@ if profile == "mko-laptop" @@%}
script=~/.lib/mpris.so
{%@@ endif @@%}
@ -107,12 +108,3 @@ ytdl-format="bestvideo[height<=720]+bestaudio/best[height<=720]"
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 @@%}