1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Add optional workaround patch and knob for North American DVB-S AC3

audio. (default off for now since it doesn't seem to be a `proper' fix.)

Submitted by:	VDR User <user.vdr@gmail.com> on -multimedia
This commit is contained in:
Juergen Lock 2011-03-27 16:20:53 +00:00
parent 0bbd0ae66d
commit c90e0bc508
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271897
2 changed files with 16 additions and 2 deletions

View File

@ -19,7 +19,8 @@ LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/fontconfig.pc:${PORTSDIR}/x11-fonts/fontconfig
OPTIONS= IPTVPATCH "Stops EIT scans on IPTV channels" On
OPTIONS= IPTVPATCH "Stops EIT scans on IPTV channels" On \
AC3PATCH "North America DVB-S AC3 audio workaround" Off
DIST_SUBDIR= vdr
USE_BZIP2= yes
@ -53,9 +54,12 @@ PLIST_SUB+= VDR_GROUP=${VDR_GROUP}
.include <bsd.port.options.mk>
.if defined(WITH_IPTVPATCH)
EXTRA_PATCHES= ${FILESDIR}/vdr-1.7.15-disable_ca_updates.patch \
EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.15-disable_ca_updates.patch \
${FILESDIR}/vdr-1.7.15-disable_eitscan.patch
.endif
.if defined(WITH_AC3PATCH)
EXTRA_PATCHES+= ${FILESDIR}/vdr-1.7.17-fix_na_dvbs_ac3.diff
.endif
.if !defined(WITHOUT_NLS)
PLIST_SUB+= NLS=""

View File

@ -0,0 +1,10 @@
--- pat.c.orig 2011-03-13 23:15:42.000000000 -0700
+++ pat.c 2011-03-14 00:14:40.000000000 -0700
@@ -486,6 +486,7 @@ void cPatFilter::Process(u_short Pid, u_
SI::ISO639LanguageDescriptor *ld = (SI::ISO639LanguageDescriptor *)d;
strn0cpy(lang, I18nNormalizeLanguageCode(ld->languageCode), MAXLANGCODE1);
}
+ IsAc3 = true;
break;
default: ;
}