gst-plugins-bad1: fix for faac 1.29.9

This commit is contained in:
Jürgen Buchmüller 2017-11-06 12:10:31 +01:00
parent cd6bc02165
commit dc611c7cc3
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- ext/faac/gstfaac.c 2017-05-15 17:46:30.000000000 +0200
+++ ext/faac/gstfaac.c 2017-11-06 11:40:30.458137107 +0100
@@ -490,7 +490,9 @@
conf = faacEncGetCurrentConfiguration (faac->handle);
conf->mpegVersion = (faac->mpegversion == 4) ? MPEG4 : MPEG2;
conf->aacObjectType = faac->profile;
+#if FAAC_CFG_VERSION < 105
conf->allowMidside = faac->midside;
+#endif
conf->useLfe = 0;
conf->useTns = faac->tns;

View File

@ -1,7 +1,7 @@
# Template file for 'gst-plugins-bad1'.
pkgname=gst-plugins-bad1
version=1.12.3
revision=1
revision=2
wrksrc="${pkgname/1/}-${version}"
lib32disabled=yes
build_style=gnu-configure