pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/multimedia/mpv
Module Name: pkgsrc
Committed By: nia
Date: Tue Jun 4 13:55:43 UTC 2019
Modified Files:
pkgsrc/multimedia/mpv: Makefile distinfo
Added Files:
pkgsrc/multimedia/mpv/patches: patch-options_options.c
Log Message:
mpv: Set autosync=30 by default on NetBSD.
PR kern/54230
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.52 -r1.53 pkgsrc/multimedia/mpv/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/multimedia/mpv/patches/patch-options_options.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/multimedia/mpv/Makefile
diff -u pkgsrc/multimedia/mpv/Makefile:1.82 pkgsrc/multimedia/mpv/Makefile:1.83
--- pkgsrc/multimedia/mpv/Makefile:1.82 Fri May 31 15:55:11 2019
+++ pkgsrc/multimedia/mpv/Makefile Tue Jun 4 13:55:43 2019
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.82 2019/05/31 15:55:11 nia Exp $
+# $NetBSD: Makefile,v 1.83 2019/06/04 13:55:43 nia Exp $
DISTNAME= mpv-0.29.1
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Index: pkgsrc/multimedia/mpv/distinfo
diff -u pkgsrc/multimedia/mpv/distinfo:1.52 pkgsrc/multimedia/mpv/distinfo:1.53
--- pkgsrc/multimedia/mpv/distinfo:1.52 Sat Jun 1 01:15:53 2019
+++ pkgsrc/multimedia/mpv/distinfo Tue Jun 4 13:55:43 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.52 2019/06/01 01:15:53 tsutsui Exp $
+$NetBSD: distinfo,v 1.53 2019/06/04 13:55:43 nia Exp $
SHA1 (mpv-0.29.1.tar.gz) = 83f2bc0eb5a8bec9a9d5efc7de0e19a442238ac5
RMD160 (mpv-0.29.1.tar.gz) = 72a4fda3a72ac4fd37ed04435833fa2cf378a012
@@ -6,6 +6,7 @@ SHA512 (mpv-0.29.1.tar.gz) = ec57c9ceaaf
Size (mpv-0.29.1.tar.gz) = 3059503 bytes
SHA1 (patch-audio_out_ao__alsa.c) = c4661d0d22550d6e4eb2b7a42dd04dbcc58123b0
SHA1 (patch-audio_out_ao__oss.c) = 824c214d0d4464b94e46a922ede4045ae537a534
+SHA1 (patch-options_options.c) = 125282ede99098224fc9c16952b44c12b8b3e06b
SHA1 (patch-player_main.c) = e794199990059cc95050032194bca70557c381d7
SHA1 (patch-video_out_drm__common.c) = facb8d99fe31119618866c9af512a60e54b4ea6c
SHA1 (patch-wscript) = a908365c0c63745e1d22010c26804789997d4377
Added files:
Index: pkgsrc/multimedia/mpv/patches/patch-options_options.c
diff -u /dev/null pkgsrc/multimedia/mpv/patches/patch-options_options.c:1.1
--- /dev/null Tue Jun 4 13:55:43 2019
+++ pkgsrc/multimedia/mpv/patches/patch-options_options.c Tue Jun 4 13:55:43 2019
@@ -0,0 +1,21 @@
+$NetBSD: patch-options_options.c,v 1.1 2019/06/04 13:55:43 nia Exp $
+
+autosync=0 requires "a perfect audio delay measurement".
+
+NetBSD does not provide this. Setting it to 30 (as recommended in
+mpv's man page) fixes frame drops in NetBSD.
+
+PR kern/54230
+--- options/options.c.orig 2018-10-02 19:03:41.000000000 +0000
++++ options/options.c
+@@ -972,6 +972,10 @@ const struct MPOpts mp_default_opts = {
+ },
+
+ .cuda_device = -1,
++
++#ifdef __NetBSD__
++ .autosync = 30,
++#endif
+ };
+
+ #endif /* MPLAYER_CFG_MPLAYER_H */
Home |
Main Index |
Thread Index |
Old Index