aboutsummaryrefslogtreecommitdiff
path: root/multimedia/handbrake
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-11-14 19:34:12 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-11-14 19:34:12 +0000
commit1ad587fb06b5fac44180ece9bd8d1218551de4b0 (patch)
treee7641fb657d8e201903d023988865a1bd3fff335 /multimedia/handbrake
parent86d54b3a843ee668f3c6b2604c322691945030d7 (diff)
downloadports-1ad587fb06b5fac44180ece9bd8d1218551de4b0.tar.gz
ports-1ad587fb06b5fac44180ece9bd8d1218551de4b0.zip
Notes
Diffstat (limited to 'multimedia/handbrake')
-rw-r--r--multimedia/handbrake/Makefile2
-rw-r--r--multimedia/handbrake/files/patch-contrib_ffmpeg_A90-libvpx-1.5.0.patch42
2 files changed, 43 insertions, 1 deletions
diff --git a/multimedia/handbrake/Makefile b/multimedia/handbrake/Makefile
index 1f3103645a39..7417344f7cba 100644
--- a/multimedia/handbrake/Makefile
+++ b/multimedia/handbrake/Makefile
@@ -3,7 +3,7 @@
PORTNAME= handbrake
PORTVERSION= 0.10.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://download.handbrake.fr/releases/${PORTVERSION}/ \
http://download.handbrake.fr/handbrake/contrib/:contrib \
diff --git a/multimedia/handbrake/files/patch-contrib_ffmpeg_A90-libvpx-1.5.0.patch b/multimedia/handbrake/files/patch-contrib_ffmpeg_A90-libvpx-1.5.0.patch
new file mode 100644
index 000000000000..ae79f99920df
--- /dev/null
+++ b/multimedia/handbrake/files/patch-contrib_ffmpeg_A90-libvpx-1.5.0.patch
@@ -0,0 +1,42 @@
+--- /dev/null 1970-01-01 00:00:00 UTC
++++ contrib/ffmpeg/A90-libvpx-1.5.0.patch
+@@ -0,0 +1,39 @@
++commit 6540fe0
++Author: James Zern <jzern@google.com>
++Date: Mon Oct 19 22:44:11 2015 -0700
++
++ libvpxenc: remove some unused ctrl id mappings
++
++ VP8E_UPD_ENTROPY, VP8E_UPD_REFERENCE, VP8E_USE_REFERENCE were removed
++ from libvpx and the remaining values were never used here
++
++ Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
++ Signed-off-by: James Zern <jzern@google.com>
++---
++ libavcodec/libvpxenc.c | 8 --------
++ 1 file changed, 8 deletions(-)
++
++diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c
++index 5f39783..992122c 100644
++--- a/libavcodec/libvpxenc.c
+++++ b/libavcodec/libvpxenc.c
++@@ -104,19 +104,11 @@ typedef struct VP8EncoderContext {
++
++ /** String mappings for enum vp8e_enc_control_id */
++ static const char *const ctlidstr[] = {
++- [VP8E_UPD_ENTROPY] = "VP8E_UPD_ENTROPY",
++- [VP8E_UPD_REFERENCE] = "VP8E_UPD_REFERENCE",
++- [VP8E_USE_REFERENCE] = "VP8E_USE_REFERENCE",
++- [VP8E_SET_ROI_MAP] = "VP8E_SET_ROI_MAP",
++- [VP8E_SET_ACTIVEMAP] = "VP8E_SET_ACTIVEMAP",
++- [VP8E_SET_SCALEMODE] = "VP8E_SET_SCALEMODE",
++ [VP8E_SET_CPUUSED] = "VP8E_SET_CPUUSED",
++ [VP8E_SET_ENABLEAUTOALTREF] = "VP8E_SET_ENABLEAUTOALTREF",
++ [VP8E_SET_NOISE_SENSITIVITY] = "VP8E_SET_NOISE_SENSITIVITY",
++- [VP8E_SET_SHARPNESS] = "VP8E_SET_SHARPNESS",
++ [VP8E_SET_STATIC_THRESHOLD] = "VP8E_SET_STATIC_THRESHOLD",
++ [VP8E_SET_TOKEN_PARTITIONS] = "VP8E_SET_TOKEN_PARTITIONS",
++- [VP8E_GET_LAST_QUANTIZER] = "VP8E_GET_LAST_QUANTIZER",
++ [VP8E_SET_ARNR_MAXFRAMES] = "VP8E_SET_ARNR_MAXFRAMES",
++ [VP8E_SET_ARNR_STRENGTH] = "VP8E_SET_ARNR_STRENGTH",
++ [VP8E_SET_ARNR_TYPE] = "VP8E_SET_ARNR_TYPE",