From d8d1d02b769e2f2d748d0348cbfa5de525b67f1a Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sat, 14 Aug 2010 23:25:04 -0500
Subject: mythtv:latest -fixes and AC3 fix

---
 abs/core-testing/mythtv/stable-0.23/mp_all.sh       | 2 +-
 abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/abs/core-testing/mythtv/stable-0.23/mp_all.sh b/abs/core-testing/mythtv/stable-0.23/mp_all.sh
index 192e620..38a5995 100755
--- a/abs/core-testing/mythtv/stable-0.23/mp_all.sh
+++ b/abs/core-testing/mythtv/stable-0.23/mp_all.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 pkgver=0.23
-pkgrel=29
+pkgrel=31
 
 # NOTE: Make sure to build and install mythtv first BEFORE building anything else
 buildlist=('mythtv' 'mytharchive' 'mythbrowser' 'mythgallery' 'mythgame' 'mythmovies' 'mythmusic' 'mythnetvision' 'mythnews' 'mythvideo' 'mythweather' 'mythzoneminder' 'mythweb' 'myththemes' 'morethemes')
diff --git a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
index c36e423..a3420b5 100755
--- a/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
+++ b/abs/core-testing/mythtv/stable-0.23/mythtv/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythtv
 pkgver=0.23
-pkgrel=30
+pkgrel=31
 pkgdesc="A personal video recorder for Linux"
 url="http://www.mythtv.org"
 license="GPL"
@@ -37,6 +37,9 @@ build() {
 	done
 	echo "--------------------------done applying patches-----------------------------------------------"
 
+        # Fix to allow AC3 5.1 to return http://svn.mythtv.org/trac/ticket/8659
+        sed -i 's/#define\ AUDIOMAXFRAMES\ \ \ \ \ \ \ 30/#define\ AUDIOMAXFRAMES\ \ \ \ \ \ \ 0/' libs/libmythtv/avformatdecoder.h 
+
 	sed -i -e "s/\`(svnversion \$\${SVNTREEDIR} 2>\/dev\/null) || echo Unknown\`/$pkgver/" version.pro
 
 	[ "$CARCH" = "i686"   ] && ARCH="i686"
-- 
cgit v0.12

