NetBSD Problem Report #49670

From iamleot@gmail.com  Tue Feb 17 17:34:28 2015
Return-Path: <iamleot@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6CF52A567D
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 17 Feb 2015 17:34:28 +0000 (UTC)
Message-Id: <54e37b9f.8e3ec20a.41ac.ffffb0f9@mx.google.com>
Date: Tue, 17 Feb 2015 09:34:23 -0800 (PST)
From: Leonardo Taccari <iamleot@gmail.com>
Reply-To: Leonardo Taccari <iamleot@gmail.com>
To: gnats-bugs@NetBSD.org
Subject: Update multimedia/mpv to 0.8.0
X-Send-Pr-Version: 3.95

>Number:         49670
>Category:       pkg
>Synopsis:       Update multimedia/mpv to 0.8.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wiz
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 17 17:35:00 +0000 2015
>Closed-Date:    Thu Feb 19 09:16:37 +0000 2015
>Last-Modified:  Thu Feb 19 09:20:00 +0000 2015
>Originator:     Leonardo Taccari
>Release:        NetBSD 7.99.4
>Organization:
Università Politecnica delle Marche
>Environment:


System: NetBSD boh 7.99.4 NetBSD 7.99.4 (GENERIC) #0: Tue Feb 10 08:43:53 CET 2015 leot@boh:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	multimedia/mpv in pkgsrc (0.7.3) is not the latest stable version (0.8.0).
>How-To-Repeat:
	$ cd pkgsrc/multimedia/mpv
	$ make show-var VARNAME=PKGNAME_NOREV
>Fix:
	Please apply the following (trivial) patches. If it is ok I am happy
	with this multimedia player and I'm still using it after several months
	and so I would like to MAINTAIN(ER) it. :)

	While here I will also attach a commit message.


-------------------8<-----------------8<-----------------8<-------------------
Update multimedia/mpv to 0.8.0.

Release 0.8.0
-------------

   Diogo Franco Kovensky released this Feb 17, 2015 · 63 commits to master
   since this release

   Warning: for the first 4 hours of the release, the v0.8.0 tag pointed
   to git master instead of the release. This was fixed later.

Changes
-------

   Changes that may break users' config files have been annotated with a
   (!).
     * (!) vo_opengl_old has been removed. OpenGL rendering now requires
       hardware that can do at least OpenGL 2.1, the oldest version
       supported by vo_opengl.
     * (!) vf_pp has been removed. A version of it can still be accessed
       through lavfilter (e.g. --vf=lavfi=[pp...]), but it receives no QP
       information. Also, vf_dlopen no longer passes QP information to its
       loaded plugin either (it's always 0).
     * (!) vf_softpulldown, vf_swapuv, vf_phase, vf_divtc and vf_ilpack
       have all been removed. Ports or alternative versions of these
       filters are available through libavfilter (vf_lavfi).
     * vf_pullup and vf_noise now are simply wrappers to their libavfilter
       equivalents. Both are only currently available on FFmpeg (not
       Libav).
     * (!) ao_portaudio has been removed. There is good support for the
       native audio drivers of all major desktop platforms, as well as
       ao_sdl and ao_openal as fallbacks.
     * (!) vo_opengl's lscale suboption has been renamed to scale; lradius
       is now scale-radius, lparam1 and lparam2 are now respectively
       scale-param1 and scale-param2; lscale-down is now scale-down. The
       cscale suboption remains as is.
     * (!) Several of the vo_opengl radius-preset aliases supported by
       scale have been removed; use scale-radius to set if needed. For
       example, use --vo=opengl:scale=lanczos:scale-radius=2 instead of
       scale=lanczos2. The default radius is recommended for most filters.
     * (!) vo_opengl no longer supports the stereo suboption. The anaglyph
       effect can be reproduced with the stereo3d filter. The quadbuffer
       support, which requires expensive specialized hardware to begin
       with, is removed.
     * (!) The approx-gamma suboption to vo_opengl has been removed. The
       BT.1886 specification says that it's actually how it's supposed to
       be done so it is now the default when srgb or icc-profile are
       enabled. This does not include BT.1886's gamma drop.
     * (!) The no-scale-sep and indirect suboptions to vo_opengl have been
       removed. These are now autodetected and enabled whenever they would
       have benefit.
     * (!) The --lua and --lua-opts parameters / options are now called
       --script and --script-opts, respectively. The lua subdir of the mpv
       config dir is also now expected to be called scripts instead.
     * (!) The --fixed-vo option has been removed. It has been the default
       for a long time anyway, and disabling fixed-vo is not useful.
     * vo_opengl_hq has been updated to take into account new features.
       fancy-downscaling and sigmoid-upscaling are enabled, "mitchell" is
       now the default for scale-down.
     * The sub-visibility OSD message is now clearer about whether
       subtitles are hidden or just not available / selected.
     * The device IDs given to --audio-device for use with ao_coreaudio
       now use UIDs, so they don't change when devices are added/removed
       or after reboots.
     * --msg-level now also accepts ',' as separator.
     * (Client API) The client API now refuses to initialize if the
       LC_NUMERIC locale is not "C".
     * (Client API) The native type of the msg-level parameter is now a
       key-value list. Setting or reading it as a string still works.
     * (Slave API) The get_property command is now deprecated.
     * Documentation updates.
     * PDF documentation is now disabled by default due to rst2pdf being
       fickle, causing weird build errors.
     * Print desync messages with negative A/V sync as well. While rare,
       it could happen with some uses of --autosync.

Bug fixes
---------

     * (Windows) Avoid resizing the video window when player is minimized,
       might address bug #1547.
     * (NetBSD) Fix build with v4l2.
     * (Linux) Attempt to address conflicts with the pulseaudio mixer.
       (bug #1578)
     * Multiple cdda:// fixes. (bugs #1555, #1560)
     * VP9 timestamps no longer cause "missing PTS" warnings with new
       enough FFmpeg builds.
     * Fix a crash when using H.264 hardware decoding on new enough
       libavcodecs. (bug #1587)

New features
------------

     * vo_opengl now supports frame blending to eliminate stuttering when
       the video framerate does not nicely match the display framerate
       through the smoothmotion suboption. This is not meant to
       artificially increase the video's FPS, so there is no "soap opera
       effect" or difficulties with some video types (e.g. anime).
     * vo_opengl now supports sigmoidal upscaling (e.g. for fullscreen),
       which reduces ringing induced by upscaling, enabled through the
       sigmoid-upscaling suboption.
     * vo_opengl now supports ewa_lanczos (Jinc) scaling, which provides
       higher quality with less aliasing. It supports an experimental
       scale-antiringing parameter, which tries to further reduce video
       ringing.
     * vo_opengl now has a linear-scaling suboption, that makes the
       scalers work in linear light. Implied by the srgb, icc-profile or
       the new sigmoid-upscaling suboption.
     * vo_opengl has improved downscaling for higher downscale ratios when
       fancy-downscaling is enabled.
     * Add --keep-open=always to make --keep-open apply to all files
       instead of only the last.
     * mpv now filters the tags that are printed on the console to try to
       hide useless metadata. The filter works as a whitelist, and can be
       configured with the --display-tags option.
     * Add a --sub-scale-by-window option that, when set to 'no', prevents
       subtitles from changing their pixel size when the window changes
       sizes.
     * vo_opengl now technically has GLES 2 and 3 support (but not GLES
       1). GLES 3 support is only tested on Mesa's software emulation.
       GLES 2 has been tested on nvidia drivers. Both GLES modes are
       feature deficient and inefficient due to GLES limitations, so they
       should not be preferred over the standard OpenGL mode.
     * (X11) vo_opengl now supports the icc-profile-auto option on X11
       hosts.
     * The 'A' key now by default cycles through a list of preset aspect
       ratios. Meant to be used to work around broken files.
     * There is now a "force" mode for --loop. Works like "inf", but tries
       to open files/streams even if there was an error on the previous
       attempt.
     * There is now a --log-file option to write mpv's log messages to a
       specifed file.
     * There is now a --audio-file-auto option to automatically load an
       external audio file with certain constraints. Will only load
       external audio if the playing file has a video stream. Set to
       "exact" by default. (bug #967)
     * There is now a --network-timeout option to specify a timeout in
       seconds for network access. If 0 (default), uses the libavformat
       default. If a protocol that doesn't support timeouts is used, this
       option is ignored.
     * (X11) The XF86 special keys are now all mappable in input.conf. All
       keys documented in XF86keysym.h are available, but only as their
       numeric codes.
     * (Linux) The DVB implementation now supports DVB-S2 through S2API.
     * (Linux) The VDR format for channels.conf is now supported and
       preferred. See
       http://linuxtv.org/vdrwiki/index.php/Syntax_of_channels.conf for
       the syntax. Tuning to DVB-S2 channels requires the VDR-format
       channels.conf.
     * (Linux) There is now a --dvbin-full-transponder option for handling
       special broadcast cases where PIDs switch, or just to work around
       incomplete PID data.
     * (Client API) There is now an opengl_cb VO, which receives the
       OpenGL context from the libmpv client. This allows a client to
       render libmpv video directly to a provided OpenGL context without
       having to use --wid embedding.
     * (Client API) The aforementioned --wid parameter can now be set at
       any time, but has no effect if a file is already loaded.
     * (Client API) The list of DVD titles can now be queried.
     * (Client API) There is now a filtered-metadata property, containing
       only the tags allowed by --display-tags.
     * (Client API) There is now support for XEmbed --wid targets, such as
       a GtkSocket's gtk_socket_get_id().
     * (Client API) There is now a file-format property with a symbolic
       name for the file format. In some cases this might be a comma
       separated list of various different extensions due to libavformat
       idiosyncrasies.
     * (Client API) There is now a mouse command for generating mouse
       events over the video window.
     * (Client API) There is now a partially-seekable property that
       indicates whether a file is only considered seekable because of the
       stream cache, but would not be seekable otherwise (e.g. realtime
       stream, or HTTP with no resume support). Small relative seeks may
       be fine, but larger seeks will likely fail.
     * (Client API) There is now an MPV_EVENT_QUEUE_OVERFLOW event that is
       posted whenever events have to be dropped because the queue is
       full. No further events are posted until the
       MPV_EVENT_QUEUE_OVERFLOW is consumed to avoid duplicated posting.
     * (Client API) There is now a helper mpv_wait_async_requests()
       function that blocks until all known async requests have completed.
       (bug #1542)
     * (Client API) There is now a detected-hwdec property that returns
       the detected hardware decoder when one is successfully opened. This
       probably only returns a valid value after playback has started.
     * (Client API) There are now audio_add, audio_remove and audio_reload
       counterparts to the equivalent sub_ commands for handling external
       audio files.
-------------------8<-----------------8<-----------------8<-------------------


-------------------8<-----------------8<-----------------8<-------------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mpv/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	1 Feb 2015 18:55:33 -0000	1.12
+++ Makefile	17 Feb 2015 17:26:26 -0000
@@ -1,17 +1,17 @@
 # $NetBSD: Makefile,v 1.12 2015/02/01 18:55:33 wiz Exp $

-DISTNAME=	mpv-0.7.3
+DISTNAME=	mpv-0.8.0
 CATEGORIES=	multimedia
 MASTER_SITES=	-https://github.com/mpv-player/mpv/archive/v${PKGVERSION_NOREV}${EXTRACT_SUFX}

-MAINTAINER=	pkgsrc-users@NetBSD.org
+MAINTAINER=	leot1990@users.sourceforge.net
 HOMEPAGE=	http://mpv.io/
 COMMENT=	Video player based on MPlayer and mplayer2
 LICENSE=	gnu-gpl-v2

 BUILD_DEPENDS+=	${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
 # ${WRKSRC}/bootstrap.py mentions needed version
-BUILD_DEPENDS+=	waf>=1.8:../../devel/waf
+BUILD_DEPENDS+=	waf>=1.8.4:../../devel/waf

 PYTHON_FOR_BUILD_ONLY=	yes
 PYTHON_VERSIONS_INCOMPATIBLE=	33 34 # py-docutils
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mpv/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	1 Feb 2015 18:55:33 -0000	1.8
+++ distinfo	17 Feb 2015 17:26:26 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.8 2015/02/01 18:55:33 wiz Exp $

-SHA1 (mpv-0.7.3.tar.gz) = ea160d28738e1e2084a02eebf721831b38915fd4
-RMD160 (mpv-0.7.3.tar.gz) = fe7005074e8554ad150f551e56006d5f49b543ed
-Size (mpv-0.7.3.tar.gz) = 2672554 bytes
+SHA1 (mpv-0.8.0.tar.gz) = 8185c54989a92d7e622850ef869180cf3e239d2f
+RMD160 (mpv-0.8.0.tar.gz) = 19e3a861d70cca9668313a069442f5254f7b63e9
+Size (mpv-0.8.0.tar.gz) = 2661713 bytes

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 18 Feb 2015 08:41:40 +0000
Responsible-Changed-Why:
take


From: Thomas Klausner <tk@giga.or.at>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/49670: Update multimedia/mpv to 0.8.0
Date: Wed, 18 Feb 2015 09:41:30 +0100

 On Tue, Feb 17, 2015 at 05:35:00PM +0000, Leonardo Taccari wrote:
 > >Number:         49670
 > >Category:       pkg
 > >Synopsis:       Update multimedia/mpv to 0.8.0

 Thanks for the update!

 I tried building on 7.99.5/amd64 with pkgsrc-current and python
 defaulting to 3.4, but it failed with:

 Waf: Entering directory `/scratch/multimedia/mpv/work/mpv-0.8.0/build'
 Traceback (most recent call last):
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Scripting.py", line 103, in waf_entry_point
     run_commands()
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Scripting.py", line 164, in run_commands
     ctx=run_command(cmd_name)
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Scripting.py", line 155, in run_command
     ctx.execute()
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Scripting.py", line 366, in execute
     return execute_method(self)
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Build.py", line 104, in execute
     self.execute_build()
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Build.py", line 107, in execute_build
     self.recurse([self.run_dir])
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Context.py", line 133, in recurse
     user_function(self)
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/wscript", line 911, in build
     ctx.load('wscript_build')
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Context.py", line 89, in load
     fun(self)
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/wscript_build.py", line 41, in build
     ctx.load('waf_customizations')
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11ccd2399527bb9e0aadf2/waflib/Context.py", line 89, in load
     fun(self)
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/waftools/waf_customizations.py", line 35, in build
     class cprogram(cls):
   File "/scratch/multimedia/mpv/work/mpv-0.8.0/waftools/waf_customizations.py", line 36, in cprogram
     run_str = cls.hcode + '${LAST_LINKFLAGS}'
 TypeError: can't concat bytes to str
 *** Error code 2

 Any ideas?
  Thomas

From: Leonardo Taccari <iamleot@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49670: Update multimedia/mpv to 0.8.0
Date: Wed, 18 Feb 2015 14:39:49 +0100

 Hello Thomas,

 Thomas Klausner writes:
 >  Thanks for the update!
 >  =

 >  I tried building on 7.99.5/amd64 with pkgsrc-current and python
 >  defaulting to 3.4, but it failed with:
 >  =

 >  Waf: Entering directory `/scratch/multimedia/mpv/work/mpv-0.8.0/build'
 >  Traceback (most recent call last):
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Scripting.py", line 103, in waf_e
 > ntry_point
 >      run_commands()
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Scripting.py", line 164, in run_c
 > ommands
 >      ctx=3Drun_command(cmd_name)
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Scripting.py", line 155, in run_c
 > ommand
 >      ctx.execute()
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Scripting.py", line 366, in execu
 > te
 >      return execute_method(self)
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Build.py", line 104, in execute
 >      self.execute_build()
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Build.py", line 107, in execute_b
 > uild
 >      self.recurse([self.run_dir])
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Context.py", line 133, in recurse
 >      user_function(self)
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/wscript", line 911, in b=
 uild
 >      ctx.load('wscript_build')
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Context.py", line 89, in load
 >      fun(self)
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/wscript_build.py", line =
 41, in build
 >      ctx.load('waf_customizations')
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/.waf3-1.8.6-601a0f702a11=
 ccd2399527bb9e0aadf2/waflib/Context.py", line 89, in load
 >      fun(self)
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/waftools/waf_customizati=
 ons.py", line 35, in build
 >      class cprogram(cls):
 >    File "/scratch/multimedia/mpv/work/mpv-0.8.0/waftools/waf_customizati=
 ons.py", line 36, in cprogram
 >      run_str =3D cls.hcode + '${LAST_LINKFLAGS}'
 >  TypeError: can't concat bytes to str
 >  *** Error code 2
 >  =

 >  Any ideas?
 Is it a mpv-0.8.0 regression? I am using python27-2.7.9 and like you
 NetBSD/amd64 -current and pkgsrc-current. Have you succesfully used
 devel/waf with other packages and python34?

 I will try to take a look if I change the PYTHON_VERSION_DEFAULT version
 what happens (regarding Python I have never changed the default).


 Ciao,
 L.

From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49670: Update multimedia/mpv to 0.8.0
Date: Thu, 19 Feb 2015 00:27:16 +0100

 On Wed, Feb 18, 2015 at 02:15:01PM +0000, Leonardo Taccari wrote:
 >  Is it a mpv-0.8.0 regression? I am using python27-2.7.9 and like you
 >  NetBSD/amd64 -current and pkgsrc-current. Have you succesfully used
 >  devel/waf with other packages and python34?

 Actually, waf-1.8.6 also broke mpv-0.7.3.
  Thomas

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 19 Feb 2015 09:16:37 +0000
State-Changed-Why:
Committed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49670 CVS commit: pkgsrc/multimedia/mpv
Date: Thu, 19 Feb 2015 09:16:15 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Thu Feb 19 09:16:15 UTC 2015

 Modified Files:
 	pkgsrc/multimedia/mpv: Makefile distinfo

 Log Message:
 Update to 0.8.0 from Leonardo Taccari in PR 49670.

 Release 0.8.0
 -------------

    Diogo Franco Kovensky released this Feb 17, 2015 - 63 commits to master
    since this release

    Warning: for the first 4 hours of the release, the v0.8.0 tag pointed
    to git master instead of the release. This was fixed later.

 Changes
 -------

    Changes that may break users' config files have been annotated with a
    (!).
      * (!) vo_opengl_old has been removed. OpenGL rendering now requires
        hardware that can do at least OpenGL 2.1, the oldest version
        supported by vo_opengl.
      * (!) vf_pp has been removed. A version of it can still be accessed
        through lavfilter (e.g. --vf=lavfi=[pp...]), but it receives no QP
        information. Also, vf_dlopen no longer passes QP information to its
        loaded plugin either (it's always 0).
      * (!) vf_softpulldown, vf_swapuv, vf_phase, vf_divtc and vf_ilpack
        have all been removed. Ports or alternative versions of these
        filters are available through libavfilter (vf_lavfi).
      * vf_pullup and vf_noise now are simply wrappers to their libavfilter
        equivalents. Both are only currently available on FFmpeg (not
        Libav).
      * (!) ao_portaudio has been removed. There is good support for the
        native audio drivers of all major desktop platforms, as well as
        ao_sdl and ao_openal as fallbacks.
      * (!) vo_opengl's lscale suboption has been renamed to scale; lradius
        is now scale-radius, lparam1 and lparam2 are now respectively
        scale-param1 and scale-param2; lscale-down is now scale-down. The
        cscale suboption remains as is.
      * (!) Several of the vo_opengl radius-preset aliases supported by
        scale have been removed; use scale-radius to set if needed. For
        example, use --vo=opengl:scale=lanczos:scale-radius=2 instead of
        scale=lanczos2. The default radius is recommended for most filters.
      * (!) vo_opengl no longer supports the stereo suboption. The anaglyph
        effect can be reproduced with the stereo3d filter. The quadbuffer
        support, which requires expensive specialized hardware to begin
        with, is removed.
      * (!) The approx-gamma suboption to vo_opengl has been removed. The
        BT.1886 specification says that it's actually how it's supposed to
        be done so it is now the default when srgb or icc-profile are
        enabled. This does not include BT.1886's gamma drop.
      * (!) The no-scale-sep and indirect suboptions to vo_opengl have been
        removed. These are now autodetected and enabled whenever they would
        have benefit.
      * (!) The --lua and --lua-opts parameters / options are now called
        --script and --script-opts, respectively. The lua subdir of the mpv
        config dir is also now expected to be called scripts instead.
      * (!) The --fixed-vo option has been removed. It has been the default
        for a long time anyway, and disabling fixed-vo is not useful.
      * vo_opengl_hq has been updated to take into account new features.
        fancy-downscaling and sigmoid-upscaling are enabled, "mitchell" is
        now the default for scale-down.
      * The sub-visibility OSD message is now clearer about whether
        subtitles are hidden or just not available / selected.
      * The device IDs given to --audio-device for use with ao_coreaudio
        now use UIDs, so they don't change when devices are added/removed
        or after reboots.
      * --msg-level now also accepts ',' as separator.
      * (Client API) The client API now refuses to initialize if the
        LC_NUMERIC locale is not "C".
      * (Client API) The native type of the msg-level parameter is now a
        key-value list. Setting or reading it as a string still works.
      * (Slave API) The get_property command is now deprecated.
      * Documentation updates.
      * PDF documentation is now disabled by default due to rst2pdf being
        fickle, causing weird build errors.
      * Print desync messages with negative A/V sync as well. While rare,
        it could happen with some uses of --autosync.

 Bug fixes
 ---------

      * (Windows) Avoid resizing the video window when player is minimized,
        might address bug #1547.
      * (NetBSD) Fix build with v4l2.
      * (Linux) Attempt to address conflicts with the pulseaudio mixer.
        (bug #1578)
      * Multiple cdda:// fixes. (bugs #1555, #1560)
      * VP9 timestamps no longer cause "missing PTS" warnings with new
        enough FFmpeg builds.
      * Fix a crash when using H.264 hardware decoding on new enough
        libavcodecs. (bug #1587)

 New features
 ------------

      * vo_opengl now supports frame blending to eliminate stuttering when
        the video framerate does not nicely match the display framerate
        through the smoothmotion suboption. This is not meant to
        artificially increase the video's FPS, so there is no "soap opera
        effect" or difficulties with some video types (e.g. anime).
      * vo_opengl now supports sigmoidal upscaling (e.g. for fullscreen),
        which reduces ringing induced by upscaling, enabled through the
        sigmoid-upscaling suboption.
      * vo_opengl now supports ewa_lanczos (Jinc) scaling, which provides
        higher quality with less aliasing. It supports an experimental
        scale-antiringing parameter, which tries to further reduce video
        ringing.
      * vo_opengl now has a linear-scaling suboption, that makes the
        scalers work in linear light. Implied by the srgb, icc-profile or
        the new sigmoid-upscaling suboption.
      * vo_opengl has improved downscaling for higher downscale ratios when
        fancy-downscaling is enabled.
      * Add --keep-open=always to make --keep-open apply to all files
        instead of only the last.
      * mpv now filters the tags that are printed on the console to try to
        hide useless metadata. The filter works as a whitelist, and can be
        configured with the --display-tags option.
      * Add a --sub-scale-by-window option that, when set to 'no', prevents
        subtitles from changing their pixel size when the window changes
        sizes.
      * vo_opengl now technically has GLES 2 and 3 support (but not GLES
        1). GLES 3 support is only tested on Mesa's software emulation.
        GLES 2 has been tested on nvidia drivers. Both GLES modes are
        feature deficient and inefficient due to GLES limitations, so they
        should not be preferred over the standard OpenGL mode.
      * (X11) vo_opengl now supports the icc-profile-auto option on X11
        hosts.
      * The 'A' key now by default cycles through a list of preset aspect
        ratios. Meant to be used to work around broken files.
      * There is now a "force" mode for --loop. Works like "inf", but tries
        to open files/streams even if there was an error on the previous
        attempt.
      * There is now a --log-file option to write mpv's log messages to a
        specifed file.
      * There is now a --audio-file-auto option to automatically load an
        external audio file with certain constraints. Will only load
        external audio if the playing file has a video stream. Set to
        "exact" by default. (bug #967)
      * There is now a --network-timeout option to specify a timeout in
        seconds for network access. If 0 (default), uses the libavformat
        default. If a protocol that doesn't support timeouts is used, this
        option is ignored.
      * (X11) The XF86 special keys are now all mappable in input.conf. All
        keys documented in XF86keysym.h are available, but only as their
        numeric codes.
      * (Linux) The DVB implementation now supports DVB-S2 through S2API.
      * (Linux) The VDR format for channels.conf is now supported and
        preferred. See
        http://linuxtv.org/vdrwiki/index.php/Syntax_of_channels.conf for
        the syntax. Tuning to DVB-S2 channels requires the VDR-format
        channels.conf.
      * (Linux) There is now a --dvbin-full-transponder option for handling
        special broadcast cases where PIDs switch, or just to work around
        incomplete PID data.
      * (Client API) There is now an opengl_cb VO, which receives the
        OpenGL context from the libmpv client. This allows a client to
        render libmpv video directly to a provided OpenGL context without
        having to use --wid embedding.
      * (Client API) The aforementioned --wid parameter can now be set at
        any time, but has no effect if a file is already loaded.
      * (Client API) The list of DVD titles can now be queried.
      * (Client API) There is now a filtered-metadata property, containing
        only the tags allowed by --display-tags.
      * (Client API) There is now support for XEmbed --wid targets, such as
        a GtkSocket's gtk_socket_get_id().
      * (Client API) There is now a file-format property with a symbolic
        name for the file format. In some cases this might be a comma
        separated list of various different extensions due to libavformat
        idiosyncrasies.
      * (Client API) There is now a mouse command for generating mouse
        events over the video window.
      * (Client API) There is now a partially-seekable property that
        indicates whether a file is only considered seekable because of the
        stream cache, but would not be seekable otherwise (e.g. realtime
        stream, or HTTP with no resume support). Small relative seeks may
        be fine, but larger seeks will likely fail.
      * (Client API) There is now an MPV_EVENT_QUEUE_OVERFLOW event that is
        posted whenever events have to be dropped because the queue is
        full. No further events are posted until the
        MPV_EVENT_QUEUE_OVERFLOW is consumed to avoid duplicated posting.
      * (Client API) There is now a helper mpv_wait_async_requests()
        function that blocks until all known async requests have completed.
        (bug #1542)
      * (Client API) There is now a detected-hwdec property that returns
        the detected hardware decoder when one is successfully opened. This
        probably only returns a valid value after playback has started.
      * (Client API) There are now audio_add, audio_remove and audio_reload
        counterparts to the equivalent sub_ commands for handling external
        audio files.


 To generate a diff of this commit:
 cvs rdiff -u -r1.12 -r1.13 pkgsrc/multimedia/mpv/Makefile
 cvs rdiff -u -r1.9 -r1.10 pkgsrc/multimedia/mpv/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.