bs1770gain: update to 0.5.0.beta.5. (#1885)
This commit is contained in:
parent
0d9f83a378
commit
7c8c8f6607
|
@ -1,33 +0,0 @@
|
|||
--- libffsox-2/ffsox_frame.c.orig 2018-05-03 16:26:40.651562783 +0200
|
||||
+++ libffsox-2/ffsox_frame.c 2018-05-03 16:27:43.450930824 +0200
|
||||
@@ -48,7 +48,7 @@
|
||||
goto frame;
|
||||
}
|
||||
|
||||
- if (NULL!=codec&&(codec->capabilities&CODEC_CAP_VARIABLE_FRAME_SIZE))
|
||||
+ if (NULL!=codec&&(codec->capabilities&AV_CODEC_CAP_VARIABLE_FRAME_SIZE))
|
||||
nb_samples=10000;
|
||||
else
|
||||
nb_samples=cc->frame_size;
|
||||
--- libffsox-2/ffsox_frame_writer.c.orig 2018-05-03 16:27:03.067335575 +0200
|
||||
+++ libffsox-2/ffsox_frame_writer.c 2018-05-03 16:28:05.418712077 +0200
|
||||
@@ -66,7 +66,7 @@
|
||||
goto open;
|
||||
|
||||
if (fw->so.fc->oformat->flags&AVFMT_GLOBALHEADER)
|
||||
- fw->so.cc->flags|=CODEC_FLAG_GLOBAL_HEADER;
|
||||
+ fw->so.cc->flags|=AV_CODEC_FLAG_GLOBAL_HEADER;
|
||||
|
||||
fw->so.st->time_base=fw->so.cc->time_base;
|
||||
//fw->so.st->time_base=fr->si.st->time_base;
|
||||
--- libffsox-2/ffsox_packet_writer.c.orig 2018-05-03 16:27:24.836116183 +0200
|
||||
+++ libffsox-2/ffsox_packet_writer.c 2018-05-03 16:28:19.530571557 +0200
|
||||
@@ -65,7 +65,7 @@
|
||||
pw->so.cc->codec_tag=0;
|
||||
|
||||
if (pw->so.fc->oformat->flags&AVFMT_GLOBALHEADER)
|
||||
- pw->so.cc->flags|=CODEC_FLAG_GLOBAL_HEADER;
|
||||
+ pw->so.cc->flags|=AV_CODEC_FLAG_GLOBAL_HEADER;
|
||||
|
||||
if (ffsox_sink_append(so,&pw->si,&pw->so)<0) {
|
||||
DMESSAGE("appending output stream");
|
|
@ -1,12 +1,14 @@
|
|||
# Template file for 'bs1770gain'
|
||||
pkgname=bs1770gain
|
||||
version=0.4.12
|
||||
revision=2
|
||||
version=0.5.0.beta.5
|
||||
revision=1
|
||||
_real_version=0.5.0-beta-5
|
||||
wrksrc="${pkgname}-${_real_version}"
|
||||
build_style=gnu-configure
|
||||
makedepends="ffmpeg-devel sox-devel"
|
||||
short_desc="A loudness scanner compliant with ITU-R BS.1770"
|
||||
maintainer="Michal Koutenský <koutak.m@gmail.com>"
|
||||
license="GPL-2"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://bs1770gain.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=cafc5440cf4940939c675e98c8dbeb839f4965d60f74270a37d4ee70559b3a59
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${_real_version}.tar.gz"
|
||||
checksum=27babaaf257b7d5c8890d82c30594103281c64b85efa231989c66afa09ae804d
|
||||
|
|
Loading…
Reference in New Issue