From 6db5b89755a44b6eb1f2b2b0afdeb99f36f6a032 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Wed, 21 Oct 2020 01:02:08 +0000
Subject: [PATCH] updated to check for file before enabling, removed libva

---
 mailcap/.mailcap |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mailcap/.mailcap b/mailcap/.mailcap
index 9c6a9d5..1a01990 100644
--- a/mailcap/.mailcap
+++ b/mailcap/.mailcap
@@ -31,8 +31,8 @@
 
 # Youtube videos are assigned a custom mime-type, which can be streamed with
 # vlc or youtube-dl.
-video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY"
-video/x-youtube; mpv --ytdl-format=bestvideo+bestaudio/best '%s' --autofit 640x480; test=test -n "$DISPLAY"
+#video/x-youtube; vlc '%s' --width 640 --height 480; test=test -n "$DISPLAY"
+video/x-youtube; mpv '%s'
 
 # Mpv is a simple and effective video streamer
 video/*; mpv '%s' --autofit 640x480 --loop=inf; test=test -n "$DISPLAY"

--
Gitblit v1.10.0