You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-extb/files/vdr-extb-0.3.1_vdr-1.7.13.diff

26 lines
873 B

http://toms-cafe.de/vdr/download/extb-0.3.1-vdr-1.7.13.diff
compile fix up from vdr-1.7.13
--- extb-0.3.1/extboardio.c
+++ extb-0.3.1/extboardio.c
@@ -361,10 +361,16 @@ void cExtBoardIO::Channel(int nChannelNu
m_nChannel |= (0 != pChannel->Tpid()) ?eHasTpid:0;
if(pChannel->IsSat()) {
+#if VDRVERSNUM >= 10713
+ cDvbTransponderParameters dtp(pChannel->Parameters());
+ char polarization = dtp.Polarization();
+#else
+ char polarization = pChannel->Polarization();
+#endif
m_nChannel |= eIsSourceSat;
- if (toupper(pChannel->Polarization()) == 'V')
+ if (toupper(polarization) == 'V')
m_nChannel |= eIsSatVPolar;
- if (toupper(pChannel->Polarization()) == 'H')
+ if (toupper(polarization) == 'H')
m_nChannel |= eIsSatHPolar;
}
else if(pChannel->IsCable())