[122337] trunk/dports/multimedia/mplayer2

devans at macports.org devans at macports.org
Sun Jul 20 22:31:54 PDT 2014


Revision: 122337
          https://trac.macports.org/changeset/122337
Author:   devans at macports.org
Date:     2014-07-20 22:31:54 -0700 (Sun, 20 Jul 2014)
Log Message:
-----------
mplayer2: increase input buffer padding size to 32 to match ffmpeg version 2.3 (#44386).

Modified Paths:
--------------
    trunk/dports/multimedia/mplayer2/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/mplayer2/files/patch-libmpdemux-demuxer.h.diff

Modified: trunk/dports/multimedia/mplayer2/Portfile
===================================================================
--- trunk/dports/multimedia/mplayer2/Portfile	2014-07-21 04:49:15 UTC (rev 122336)
+++ trunk/dports/multimedia/mplayer2/Portfile	2014-07-21 05:31:54 UTC (rev 122337)
@@ -15,6 +15,7 @@
 
 homepage                http://www.mplayer2.org/
 version                 2.0-20131009
+revision                1
 fetch.type              git
 # This is a hack b/c the mplayer2.git is HUGE and takes AGES to fetch; let's
 # hope nobody makes more than 100 commits before I update the port.
@@ -63,7 +64,8 @@
 
 universal_variant       no
 
-patchfiles              patch-configure.diff
+patchfiles              patch-configure.diff \
+                        patch-libmpdemux-demuxer.h.diff
 
 post-patch {
     reinplace "s|#!/usr/bin/env python3|#!$prefix/bin/python3.2|g" \

Added: trunk/dports/multimedia/mplayer2/files/patch-libmpdemux-demuxer.h.diff
===================================================================
--- trunk/dports/multimedia/mplayer2/files/patch-libmpdemux-demuxer.h.diff	                        (rev 0)
+++ trunk/dports/multimedia/mplayer2/files/patch-libmpdemux-demuxer.h.diff	2014-07-21 05:31:54 UTC (rev 122337)
@@ -0,0 +1,11 @@
+--- libmpdemux/demuxer.h.orig	2014-07-20 22:16:44.000000000 -0700
++++ libmpdemux/demuxer.h	2014-07-20 22:18:17.000000000 -0700
+@@ -121,7 +121,7 @@
+ #define SEEK_BACKWARD (1 << 3)
+ 
+ // demux_lavf can pass lavf buffers using FF_INPUT_BUFFER_PADDING_SIZE instead
+-#define MP_INPUT_BUFFER_PADDING_SIZE 16
++#define MP_INPUT_BUFFER_PADDING_SIZE 32
+ 
+ typedef struct demux_stream {
+     int buffer_pos;        // current buffer position
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140720/dff03151/attachment.html>


More information about the macports-changes mailing list