mpv: restore DASH as default yt format

181af89a5a updated ffmpeg to version
2.8.2, which includes the required fixes to DASH.
This commit is contained in:
Dominik Honnef 2015-11-16 13:30:13 +01:00
parent 9809fe60e7
commit 40926f38fb

View File

@ -1,7 +1,7 @@
# Template file for 'mpv'
pkgname=mpv
version=0.13.0
revision=1
revision=2
short_desc="Video player based on MPlayer/mplayer2"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
@ -28,13 +28,6 @@ fi
pre_configure() {
python bootstrap.py
sed -i 's,/usr/local/etc/mpv.conf,/etc/mpv/mpv.conf,' etc/example.conf
# TODO remove this patch once a new ffmpeg is out
#
# use "best" as default for youtube videos, not DASH. DASH in mpv
# >=0.12.0 needs fixes in ffmpeg, but ffmpeg hasn't been released
# yet.
sed -i 's,.lua_ytdl_format = NULL,.lua_ytdl_format = "best",' options/options.c
}
mpv-devel_package() {