pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Update multimedia/mpv to 0.27.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eb12cae68036
branches:  trunk
changeset: 368285:eb12cae68036
user:      leot <leot%pkgsrc.org@localhost>
date:      Wed Sep 13 10:35:58 2017 +0000

description:
mpv: Update multimedia/mpv to 0.27.0

pkgsrc changes:
- Delete 2nd hunk of patches/patch-audio_out_ao__oss.c, it was fixed uptsream
  and it is no more needed for 0.27.0.

Changes:
0.27.0
======
Features
--------
Added
~~~~~
- Windows: handle media keys
- libmpv: options: add a thread-safe way to notify option updates
- vd_lavc/vo_opengl: support embedded ICC profiles
- vo: rendering API abstraction for future non-GL video outputs
- vo_opengl: add a gamut warning feature to highlight out-of-gamut colors (--gamut-warning)
- vo_opengl: add direct rendering support (--vd-lavc-dr)
- vo_opengl: implement (faster) compute shader based EWA kernel
- vo_opengl: implement HLG OOTF inverse
- vo_opengl: support HDR peak detection (--hdr-compute-peak)
- vo_opengl: support float input pixel formats
- vo_opengl: support loading custom user textures (#4586)
- vo_opengl: support user compute shaders

Removed
~~~~~~~
- Remove video equalizer handling from vo_direct3d, vo_sdl, vo_vaapi, and vo_xv (GPL, not worth the effort to support legacy VOs)


Options and Commands
--------------------
Added
~~~~~
- macOS: add --no-native-fs option to disable the native macOS fullscreen (#4014)
- player: add --track-auto-selection option

Changed
~~~~~~~
- input: use mnemonic names for mouse buttons, same as Qt: https://doc.qt.io/qt-5/qt.html#MouseButton-enum
- options: change --loop semantics
- player: make --lavfi-complex changeable at runtime
- vf_eq: remove this filter (GPL; uses libavfilter?s eq filter now, with changed semantics)
- video: change --deinterlace behavior
- vo_opengl: generalize HDR tone mapping to gamut mapping, --hdr-tone-mapping ? --tone-mapping

Removed
~~~~~~~
- --field-dominance (GPL-only author, no chance of relicensing)
- input: drop deprecated "osd" command
- options: drop --video-aspect-method=hybrid (GPL-only)


Fixes and Minor Enhancements
----------------------------
- TOOLS/autocrop.lua: fix cropdetect black limit for 10-bit videos
- TOOLS/lua/autodeint: update to lavfi-bridge
- TOOLS/lua/status-line: improve and update
- af_lavrresample: don't call swr_set_compensation() unless necessary (#4716)
- ao_oss: fix period_size calculation (#4642)
- ao_rsound: allow setting the host
- audio: fix spdif mode
- filter_kernels: correct spline64 kernel
- macOS: fix media keys input when other Apps steal the priority (#4834)
- macOS: fix the support of multiple renderers (GPU switch) (#2371)
- macOS: remove the standard "Show Tab Bar" menu item
- options: fix --include (#4673)
- player: fix --end with large values (#4650)
- player: fix confusion in audio resync code (#4688)
- player: make refresh seeks slightly more robust (#4757)
- player: readd smi subtitle extension (#4626)
- vd_lavc: change auto-probe order to prefer cuda over vdpau-copy
- vd_lavc: fix device leak with copy-mode hwaccels (#4735)
- vd_lavc: fix hwdec compatibility with yuvj420p formats
- vd_lavc: fix mid-stream hwdec fallback
- vf_vapoursynth: fix inverted sign and restore 10 bit support (#4720)
- video: increase --monitorpixelaspect range
- vo_opengl: adjust the rules for linearization (#4631)
- vo_opengl: scale deband-grain to the signal range
- vo_opengl: tone map on the maximum signal component
- x11: fix that window could be resized when using embedding (#4784)
- ytdl_hook: resolve relative paths when joining segment urls (#4827)
- ytdl_hook: support fragments with relative paths, fixes segmented DASH

diffstat:

 multimedia/mpv/Makefile                          |   5 ++---
 multimedia/mpv/distinfo                          |  12 ++++++------
 multimedia/mpv/patches/patch-audio_out_ao__oss.c |  17 +----------------
 3 files changed, 9 insertions(+), 25 deletions(-)

diffs (64 lines):

diff -r e1989b303f7d -r eb12cae68036 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Wed Sep 13 10:28:53 2017 +0000
+++ b/multimedia/mpv/Makefile   Wed Sep 13 10:35:58 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2017/09/08 02:38:41 ryoon Exp $
+# $NetBSD: Makefile,v 1.60 2017/09/13 10:35:58 leot Exp $
 
-DISTNAME=      mpv-0.26.0
-PKGREVISION=   1
+DISTNAME=      mpv-0.27.0
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r e1989b303f7d -r eb12cae68036 multimedia/mpv/distinfo
--- a/multimedia/mpv/distinfo   Wed Sep 13 10:28:53 2017 +0000
+++ b/multimedia/mpv/distinfo   Wed Sep 13 10:35:58 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.36 2017/07/22 17:28:38 leot Exp $
+$NetBSD: distinfo,v 1.37 2017/09/13 10:35:58 leot Exp $
 
-SHA1 (mpv-0.26.0.tar.gz) = e384ec257aac966e0da821f873d8f12439e92796
-RMD160 (mpv-0.26.0.tar.gz) = 9b0c95f416070f5b0a88a6934d004fc33144dff6
-SHA512 (mpv-0.26.0.tar.gz) = fd772b4765317eb1ea3b54f12b86e0ac6c4d5e9d16895eb5bebe2e074a01f6b790981b9b34a87d9b23e4291149d3a7154b09fba4a259cec1949a6aa88d6ddec7
-Size (mpv-0.26.0.tar.gz) = 2916212 bytes
-SHA1 (patch-audio_out_ao__oss.c) = 31b8d0966a0a306a15fbb32876d5556e9f1a61a8
+SHA1 (mpv-0.27.0.tar.gz) = d4bddb88cf7a112a295a130a091181acbe25605b
+RMD160 (mpv-0.27.0.tar.gz) = d2edbdfdc6fdf3a0c210536ac3966e99113c83ad
+SHA512 (mpv-0.27.0.tar.gz) = 22738f907d84d362095773972f685e3b03ab4c8172a22ddede290fc221a83ab9135b96f8b18191dabe842b2963f68983929cf065097287fc1a054a7d5f1d0ae4
+Size (mpv-0.27.0.tar.gz) = 2956816 bytes
+SHA1 (patch-audio_out_ao__oss.c) = d7f3a75ab43efe396ce536fb54e6207a7ded3510
 SHA1 (patch-player_main.c) = 842432e448526a9d170e7efd2b01276e36072e16
diff -r e1989b303f7d -r eb12cae68036 multimedia/mpv/patches/patch-audio_out_ao__oss.c
--- a/multimedia/mpv/patches/patch-audio_out_ao__oss.c  Wed Sep 13 10:28:53 2017 +0000
+++ b/multimedia/mpv/patches/patch-audio_out_ao__oss.c  Wed Sep 13 10:35:58 2017 +0000
@@ -1,12 +1,9 @@
-$NetBSD: patch-audio_out_ao__oss.c,v 1.5 2017/07/22 17:28:38 leot Exp $
+$NetBSD: patch-audio_out_ao__oss.c,v 1.6 2017/09/13 10:35:58 leot Exp $
 
 - ioctl(..., SNDCTL_DSP_CHANNELS, &nchannels) for not supported nchannels does not
   return an error and instead set nchannels to the default value. Instead of
   failing with no audio, fallback to stereo or mono.
   Fallback logic inspired by `OSS v3 Programmer's guide', p. 34.
-- Backport fix for issue #4642: `ao_oss: fix a dumb calculation', period_size
-  used the wrong unit, and even if the unit had been correct, was assigned the
-  wrong value.
 
 --- audio/out/ao_oss.c.orig    2017-07-22 17:01:42.955374723 +0000
 +++ audio/out/ao_oss.c
@@ -40,15 +37,3 @@
          } else {
              int c = reqchannels - 1;
              if (ioctl(p->audio_fd, SNDCTL_DSP_STEREO, &c) == -1) {
-@@ -387,8 +400,9 @@ static int reopen_device(struct ao *ao, 
-         }
-     }
- 
--    ao->period_size = channels.num * af_fmt_to_bytes(format);
--    p->outburst -= p->outburst % ao->period_size; // round down
-+    int sstride = channels.num * af_fmt_to_bytes(format);
-+    p->outburst -= p->outburst % sstride; // round down
-+    ao->period_size = p->outburst / sstride;
- 
-     return 0;
- 



Home | Main Index | Thread Index | Old Index