From dc611c7cc3740cf7fc1628ad43f8efbc0d401d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 6 Nov 2017 12:10:31 +0100 Subject: [PATCH] gst-plugins-bad1: fix for faac 1.29.9 --- srcpkgs/gst-plugins-bad1/patches/faac_cfg_105.patch | 12 ++++++++++++ srcpkgs/gst-plugins-bad1/template | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/gst-plugins-bad1/patches/faac_cfg_105.patch diff --git a/srcpkgs/gst-plugins-bad1/patches/faac_cfg_105.patch b/srcpkgs/gst-plugins-bad1/patches/faac_cfg_105.patch new file mode 100644 index 00000000000..adef2d40cb5 --- /dev/null +++ b/srcpkgs/gst-plugins-bad1/patches/faac_cfg_105.patch @@ -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; + diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template index 527bf6e73b0..2f8548cc6bf 100644 --- a/srcpkgs/gst-plugins-bad1/template +++ b/srcpkgs/gst-plugins-bad1/template @@ -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