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
1 changed files with 1 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mpv' # Template file for 'mpv'
pkgname=mpv pkgname=mpv
version=0.13.0 version=0.13.0
revision=1 revision=2
short_desc="Video player based on MPlayer/mplayer2" short_desc="Video player based on MPlayer/mplayer2"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2" license="GPL-2"
@ -28,13 +28,6 @@ fi
pre_configure() { pre_configure() {
python bootstrap.py python bootstrap.py
sed -i 's,/usr/local/etc/mpv.conf,/etc/mpv/mpv.conf,' etc/example.conf 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() { mpv-devel_package() {