diff options
author | Dmitry Kharitonov | 2015-11-12 11:40:47 +0500 |
---|---|---|
committer | Dmitry Kharitonov | 2015-11-12 11:40:47 +0500 |
commit | 53cb4e57e2e8b4bc7eef35c1f273956715724cca (patch) | |
tree | 8a1511eac371c0209129a4658c453c22606d7b28 | |
parent | a226a09b68171f92485522e6bdcbd447546f39eb (diff) | |
download | aur-53cb4e57e2e8b4bc7eef35c1f273956715724cca.tar.gz |
Reverted to 2.8.1 with libvpx 1.5.0 compatibility patch
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch | 41 |
3 files changed, 60 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = ffmpeg-full-nvenc pkgdesc = Record, convert, and stream audio and video (all codecs including Nvidia NVENC and opencl) - pkgver = 2.8.2 - pkgrel = 1 + pkgver = 2.8.1 + pkgrel = 2 epoch = 1 url = http://ffmpeg.org/ arch = i686 @@ -89,12 +89,14 @@ pkgbase = ffmpeg-full-nvenc conflicts = ffmpeg-git conflicts = ffmpeg-full-git conflicts = ffmpeg-full-extra - source = http://ffmpeg.org/releases/ffmpeg-2.8.2.tar.bz2 - source = http://ffmpeg.org/releases/ffmpeg-2.8.2.tar.bz2.asc + source = http://ffmpeg.org/releases/ffmpeg-2.8.1.tar.bz2 + source = http://ffmpeg.org/releases/ffmpeg-2.8.1.tar.bz2.asc source = UNREDISTRIBUTABLE.txt - sha256sums = 830ec647f7ad774fc0caf17ba47774bf5dee7a89cbd65894f364a87ba3ad21b2 + source = ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch + sha256sums = e2ed5ab28dee1af94336739173eb0019afc21a54e38a96f4e3208e94a07866e2 sha256sums = SKIP sha256sums = e0c1b126862072a71e18b9580a6b01afc76a54aa6e642d2c413ba0ac9d3010c4 + sha256sums = 277994aca5a6e40c1a90750859828817e0646bfb28142fdb34d5f9d3196c3f7a pkgname = ffmpeg-full-nvenc @@ -8,8 +8,8 @@ pkgname=ffmpeg-full-nvenc _pkgbasename=ffmpeg -pkgver=2.8.2 -pkgrel=1 +pkgver=2.8.1 +pkgrel=2 epoch=1 pkgdesc="Record, convert, and stream audio and video (all codecs including Nvidia NVENC and opencl)" arch=('i686' 'x86_64') @@ -33,11 +33,18 @@ provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so' 'libavresample.so' 'libavutil.so' 'libpostproc.so' 'libswresample.so' 'libswscale.so' 'ffmpeg' 'qt-faststart') source=(http://ffmpeg.org/releases/$_pkgbasename-$pkgver.tar.bz2{,.asc} - 'UNREDISTRIBUTABLE.txt') + 'UNREDISTRIBUTABLE.txt' + 'ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch') validpgpkeys=('FCF986EA15E6E293A5644F10B4322F04D67658D8') -sha256sums=('830ec647f7ad774fc0caf17ba47774bf5dee7a89cbd65894f364a87ba3ad21b2' +sha256sums=('e2ed5ab28dee1af94336739173eb0019afc21a54e38a96f4e3208e94a07866e2' 'SKIP' - 'e0c1b126862072a71e18b9580a6b01afc76a54aa6e642d2c413ba0ac9d3010c4') + 'e0c1b126862072a71e18b9580a6b01afc76a54aa6e642d2c413ba0ac9d3010c4' + '277994aca5a6e40c1a90750859828817e0646bfb28142fdb34d5f9d3196c3f7a') + +prepare() { + cd $pkgname-$pkgver + patch -p1 -i ../ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch +} build() { cd $_pkgbasename-$pkgver diff --git a/ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch b/ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch new file mode 100644 index 000000000000..15d2600d1c47 --- /dev/null +++ b/ffmpeg-2.8.1-libvpxenc-remove-some-unused-ctrl-id-mappings.patch @@ -0,0 +1,41 @@ +From 6540fe04a3f9a11ba7084a49b3ee5fa2fc5b32ab Mon Sep 17 00:00:00 2001 +From: James Zern <jzern@google.com> +Date: Mon, 19 Oct 2015 22:44:11 -0700 +Subject: [PATCH] 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", +-- +1.7.10.4 + |