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:
parent
0bbd0ae66d
commit
c90e0bc508
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=271897
@ -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=""
|
||||
|
10
multimedia/vdr/files/vdr-1.7.17-fix_na_dvbs_ac3.diff
Normal file
10
multimedia/vdr/files/vdr-1.7.17-fix_na_dvbs_ac3.diff
Normal 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: ;
|
||||
}
|
Loading…
Reference in New Issue
Block a user