aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/etc/mpv
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-12-02 17:08:53 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-12-02 17:08:53 -0500
commit969c377ac6c01e8e3874a0b4822dc42a001c14cb (patch)
treea08e51065ec0d6a866e50e2e932d611ecd7220fe /files/usr/local/etc/mpv
parentecf6c2147d8fed19aa616f0793252ae7f53c5010 (diff)
downloadinfrastructure-969c377ac6c01e8e3874a0b4822dc42a001c14cb.tar.gz
configure mpv for hw accel
Diffstat (limited to 'files/usr/local/etc/mpv')
-rw-r--r--files/usr/local/etc/mpv/mpv.conf.desktop5
l---------files/usr/local/etc/mpv/mpv.conf.laptop1
l---------files/usr/local/etc/mpv/mpv.conf.roadwarrior_laptop1
3 files changed, 7 insertions, 0 deletions
diff --git a/files/usr/local/etc/mpv/mpv.conf.desktop b/files/usr/local/etc/mpv/mpv.conf.desktop
new file mode 100644
index 0000000..ac8980f
--- /dev/null
+++ b/files/usr/local/etc/mpv/mpv.conf.desktop
@@ -0,0 +1,5 @@
+hwdec=${mpv_hwdec:-auto}
+vo=${mpv_vo}
+vd-lavc-dr=${mpv_direct_rendering}
+audio-channels=${mpv_audio_channels}
+sid=no
diff --git a/files/usr/local/etc/mpv/mpv.conf.laptop b/files/usr/local/etc/mpv/mpv.conf.laptop
new file mode 120000
index 0000000..0997890
--- /dev/null
+++ b/files/usr/local/etc/mpv/mpv.conf.laptop
@@ -0,0 +1 @@
+mpv.conf.desktop \ No newline at end of file
diff --git a/files/usr/local/etc/mpv/mpv.conf.roadwarrior_laptop b/files/usr/local/etc/mpv/mpv.conf.roadwarrior_laptop
new file mode 120000
index 0000000..0997890
--- /dev/null
+++ b/files/usr/local/etc/mpv/mpv.conf.roadwarrior_laptop
@@ -0,0 +1 @@
+mpv.conf.desktop \ No newline at end of file