mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
libextractor: add patch for ffmpeg-4.0.1.
This commit is contained in:
parent
47a5e3afa4
commit
16e3858740
2 changed files with 22 additions and 1 deletions
21
srcpkgs/libextractor/patches/ffmpeg4.patch
Normal file
21
srcpkgs/libextractor/patches/ffmpeg4.patch
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
--- src/plugins/thumbnailffmpeg_extractor.c.orig 2018-05-09 23:14:02.721105141 +0200
|
||||||
|
+++ src/plugins/thumbnailffmpeg_extractor.c 2018-05-09 23:14:48.491629162 +0200
|
||||||
|
@@ -107,7 +107,7 @@
|
||||||
|
/**
|
||||||
|
* Number of bytes to feed to libav in one go, with padding (padding is zeroed).
|
||||||
|
*/
|
||||||
|
-#define PADDED_BUFFER_SIZE (BUFFER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE)
|
||||||
|
+#define PADDED_BUFFER_SIZE (BUFFER_SIZE + AV_INPUT_BUFFER_PADDING_SIZE)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Global handle to MAGIC data.
|
||||||
|
@@ -355,7 +355,7 @@
|
||||||
|
encoder_codec_ctx->mb_lmin = encoder_codec_ctx->qmin * FF_QP2LAMBDA;
|
||||||
|
encoder_codec_ctx->mb_lmax = encoder_codec_ctx->qmax * FF_QP2LAMBDA;
|
||||||
|
#endif
|
||||||
|
- encoder_codec_ctx->flags = CODEC_FLAG_QSCALE;
|
||||||
|
+ encoder_codec_ctx->flags = AV_CODEC_FLAG_QSCALE;
|
||||||
|
encoder_codec_ctx->global_quality = encoder_codec_ctx->qmin * FF_QP2LAMBDA;
|
||||||
|
|
||||||
|
dst_frame->pts = 1;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libextractor'
|
# Template file for 'libextractor'
|
||||||
pkgname=libextractor
|
pkgname=libextractor
|
||||||
version=1.6
|
version=1.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static"
|
configure_args="--disable-static"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
|
|
Loading…
Add table
Reference in a new issue