mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
- configure: rename ENABLE_HBBTV => ENABLE_AIT
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -206,6 +206,16 @@ AC_ARG_ENABLE(fastscan,
|
|||||||
AC_DEFINE(ENABLE_FASTSCAN, 1, [enable fastscan code]))
|
AC_DEFINE(ENABLE_FASTSCAN, 1, [enable fastscan code]))
|
||||||
AM_CONDITIONAL(ENABLE_FASTSCAN, test "$enable_fastscan" = "yes")
|
AM_CONDITIONAL(ENABLE_FASTSCAN, test "$enable_fastscan" = "yes")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(aitscan,
|
||||||
|
AS_HELP_STRING([--enable-aitscan], [enable Application Information Table support @<:@default=yes@:>@]),
|
||||||
|
[enable_aitscan="$enableval"],
|
||||||
|
[enable_aitscan="yes"])
|
||||||
|
|
||||||
|
if test "$enable_aitscan" = "yes"; then
|
||||||
|
AC_DEFINE(ENABLE_AIT, 1, [enable Application Information Table support])
|
||||||
|
fi
|
||||||
|
AM_CONDITIONAL(ENABLE_AIT, test "$enable_aitscan" = "yes")
|
||||||
|
|
||||||
AC_ARG_ENABLE(giflib,
|
AC_ARG_ENABLE(giflib,
|
||||||
AS_HELP_STRING([--enable-giflib], [use giflib instead of libungif @<:@default=no@:>@]),
|
AS_HELP_STRING([--enable-giflib], [use giflib instead of libungif @<:@default=no@:>@]),
|
||||||
AC_DEFINE(ENABLE_GIFLIB, 1, [use giflib instead of libungif]))
|
AC_DEFINE(ENABLE_GIFLIB, 1, [use giflib instead of libungif]))
|
||||||
|
@@ -142,7 +142,7 @@ class CZapitChannel
|
|||||||
|
|
||||||
unsigned short pcrPid;
|
unsigned short pcrPid;
|
||||||
unsigned short pmtPid;
|
unsigned short pmtPid;
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
unsigned short aitPid;
|
unsigned short aitPid;
|
||||||
#endif
|
#endif
|
||||||
unsigned short teletextPid;
|
unsigned short teletextPid;
|
||||||
@@ -246,7 +246,7 @@ class CZapitChannel
|
|||||||
unsigned char getAudioChannelCount(void) { return (unsigned char) audioChannels.size(); }
|
unsigned char getAudioChannelCount(void) { return (unsigned char) audioChannels.size(); }
|
||||||
unsigned short getPcrPid(void) { return pcrPid; }
|
unsigned short getPcrPid(void) { return pcrPid; }
|
||||||
unsigned short getPmtPid(void) { return pmtPid; }
|
unsigned short getPmtPid(void) { return pmtPid; }
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
unsigned short getAitPid(void) { return aitPid; }
|
unsigned short getAitPid(void) { return aitPid; }
|
||||||
#endif
|
#endif
|
||||||
unsigned short getTeletextPid(void) { return teletextPid; }
|
unsigned short getTeletextPid(void) { return teletextPid; }
|
||||||
@@ -272,7 +272,7 @@ class CZapitChannel
|
|||||||
void setAudioChannel(unsigned char pAudioChannel) { if (pAudioChannel < audioChannels.size()) currentAudioChannel = pAudioChannel; }
|
void setAudioChannel(unsigned char pAudioChannel) { if (pAudioChannel < audioChannels.size()) currentAudioChannel = pAudioChannel; }
|
||||||
void setPcrPid(unsigned short pPcrPid) { pcrPid = pPcrPid; }
|
void setPcrPid(unsigned short pPcrPid) { pcrPid = pPcrPid; }
|
||||||
void setPmtPid(unsigned short pPmtPid) { pmtPid = pPmtPid; }
|
void setPmtPid(unsigned short pPmtPid) { pmtPid = pPmtPid; }
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
void setAitPid(unsigned short pAitPid) { aitPid = pAitPid; }
|
void setAitPid(unsigned short pAitPid) { aitPid = pAitPid; }
|
||||||
#endif
|
#endif
|
||||||
void setTeletextPid(unsigned short pTeletextPid) { teletextPid = pTeletextPid; }
|
void setTeletextPid(unsigned short pTeletextPid) { teletextPid = pTeletextPid; }
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#include <zapit/bouquets.h>
|
#include <zapit/bouquets.h>
|
||||||
#include <zapit/femanager.h>
|
#include <zapit/femanager.h>
|
||||||
#include <zapit/fastscan.h>
|
#include <zapit/fastscan.h>
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
#include <zapit/scanait.h>
|
#include <zapit/scanait.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -170,7 +170,7 @@ class CZapit : public OpenThreads::Thread
|
|||||||
t_channel_id lastChannelTV;
|
t_channel_id lastChannelTV;
|
||||||
int abort_zapit;
|
int abort_zapit;
|
||||||
int pmt_update_fd;
|
int pmt_update_fd;
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
CAit *ait;
|
CAit *ait;
|
||||||
#endif
|
#endif
|
||||||
//void LoadAudioMap();
|
//void LoadAudioMap();
|
||||||
|
@@ -38,7 +38,7 @@ libzapit_a_SOURCES += \
|
|||||||
fastscan.cpp
|
fastscan.cpp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ENABLE_HBBTV
|
if ENABLE_AIT
|
||||||
libzapit_a_SOURCES += \
|
libzapit_a_SOURCES += \
|
||||||
scanait.cpp
|
scanait.cpp
|
||||||
endif
|
endif
|
||||||
|
@@ -114,7 +114,7 @@ void CZapitChannel::Init()
|
|||||||
bUseCI = false;
|
bUseCI = false;
|
||||||
altlogo = "";
|
altlogo = "";
|
||||||
epgmapper = "";
|
epgmapper = "";
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
aitPid = 0;
|
aitPid = 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@@ -38,7 +38,7 @@
|
|||||||
#include <dvbsi++/teletext_descriptor.h>
|
#include <dvbsi++/teletext_descriptor.h>
|
||||||
#include <dvbsi++/subtitling_descriptor.h>
|
#include <dvbsi++/subtitling_descriptor.h>
|
||||||
#include <dvbsi++/vbi_teletext_descriptor.h>
|
#include <dvbsi++/vbi_teletext_descriptor.h>
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
#include <dvbsi++/application_information_section.h>
|
#include <dvbsi++/application_information_section.h>
|
||||||
#include <dvbsi++/application_name_descriptor.h>
|
#include <dvbsi++/application_name_descriptor.h>
|
||||||
#include <dvbsi++/application_profile.h>
|
#include <dvbsi++/application_profile.h>
|
||||||
@@ -337,7 +337,7 @@ bool CPmt::ParseEsInfo(ElementaryStreamInfo *esinfo, CZapitChannel * const chann
|
|||||||
audio_type = CZapitAudioChannel::EAC3;
|
audio_type = CZapitAudioChannel::EAC3;
|
||||||
audio = true;
|
audio = true;
|
||||||
break;
|
break;
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
case STREAM_TYPE_PRIVATE_SECTION:
|
case STREAM_TYPE_PRIVATE_SECTION:
|
||||||
for (DescriptorConstIterator desc = esinfo->getDescriptors()->begin(); desc != esinfo->getDescriptors()->end(); ++desc)
|
for (DescriptorConstIterator desc = esinfo->getDescriptors()->begin(); desc != esinfo->getDescriptors()->end(); ++desc)
|
||||||
{
|
{
|
||||||
|
@@ -141,7 +141,7 @@ CZapit::CZapit()
|
|||||||
pip_channel_id = 0;
|
pip_channel_id = 0;
|
||||||
lock_channel_id = 0;
|
lock_channel_id = 0;
|
||||||
pip_fe = NULL;
|
pip_fe = NULL;
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
ait = new CAit();
|
ait = new CAit();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -666,7 +666,7 @@ bool CZapit::ZapIt(const t_channel_id channel_id, bool forupdate, bool startplay
|
|||||||
if (update_pmt)
|
if (update_pmt)
|
||||||
pmt_set_update_filter(current_channel, &pmt_update_fd);
|
pmt_set_update_filter(current_channel, &pmt_update_fd);
|
||||||
|
|
||||||
#if ENABLE_HBBTV
|
#if ENABLE_AIT
|
||||||
ait->setDemux(current_channel->getRecordDemux());
|
ait->setDemux(current_channel->getRecordDemux());
|
||||||
ait->Parse(current_channel);
|
ait->Parse(current_channel);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user