MythTV
master
|
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <sched.h>
#include <thread>
#include <utility>
#include "compat.h"
#include "previewgeneratorqueue.h"
#include "dtvsignalmonitor.h"
#include "recordingprofile.h"
#include "mythcorecontext.h"
#include "mythsystemevent.h"
#include "atscstreamdata.h"
#include "dvbstreamdata.h"
#include "recordingrule.h"
#include "channelgroup.h"
#include "storagegroup.h"
#include "tvremoteutil.h"
#include "dtvrecorder.h"
#include "livetvchain.h"
#include "programinfo.h"
#include "mythlogging.h"
#include "channelbase.h"
#include "atsctables.h"
#include "dtvchannel.h"
#include "eitscanner.h"
#include "mythconfig.h"
#include "remoteutil.h"
#include "io/mythmediabuffer.h"
#include "v4lchannel.h"
#include "cardutil.h"
#include "jobqueue.h"
#include "mythdb.h"
#include "tv_rec.h"
#include "mythdate.h"
#include "osd.h"
#include "../vboxutils.h"
#include "dvbchannel.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_CHANNEL_PREFIX 0 |
set to 1 to channel prefixing More... | |
#define | LOC QString("TVRec[%1]: ").arg(m_inputId) |
#define | LOC2 QString("TVRec[%1]: ").arg(inputid) |
#define | TRANSITION(ASTATE, BSTATE) ((m_internalState == (ASTATE)) && (m_desiredNextState == (BSTATE))) |
#define | SET_NEXT() do { nextState = m_desiredNextState; changed = true; } while(false) |
#define | SET_LAST() do { nextState = m_internalState; changed = true; } while(false) |
Functions | |
static bool | is_dishnet_eit (uint inputid) |
static int | init_jobs (const RecordingInfo *rec, RecordingProfile &profile, bool on_host, bool transcode_bfr_comm, bool on_line_comm) |
static void | apply_broken_dvb_driver_crc_hack (ChannelBase *, MPEGStreamData *) |
static std::chrono::seconds | eit_start_rand (uint inputId, std::chrono::seconds eitTransportTimeout) |
static bool | get_use_eit (uint inputid) |
static int | num_inputs (void) |
static void | GetPidsToCache (DTVSignalMonitor *dtvMon, pid_cache_t &pid_cache) |
static bool | ApplyCachedPids (DTVSignalMonitor *dtvMon, const DTVChannel *channel) |
static QString | add_spacer (const QString &channel, const QString &spacer) |
Adds the spacer before the last character in chan. More... | |
#define DEBUG_CHANNEL_PREFIX 0 |
set to 1 to channel prefixing
Definition at line 44 of file tv_rec.cpp.
#define LOC QString("TVRec[%1]: ").arg(m_inputId) |
Definition at line 46 of file tv_rec.cpp.
#define LOC2 QString("TVRec[%1]: ").arg(inputid) |
Definition at line 47 of file tv_rec.cpp.
#define TRANSITION | ( | ASTATE, | |
BSTATE | |||
) | ((m_internalState == (ASTATE)) && (m_desiredNextState == (BSTATE))) |
Definition at line 986 of file tv_rec.cpp.
Definition at line 988 of file tv_rec.cpp.
Definition at line 989 of file tv_rec.cpp.
Definition at line 1212 of file tv_rec.cpp.
Referenced by TVRec::TuningSignalCheck().
|
static |
Definition at line 4066 of file tv_rec.cpp.
Referenced by TVRec::InitAutoRunJobs().
|
static |
Definition at line 4846 of file tv_rec.cpp.
Referenced by TVRec::SetupDTVSignalMonitor().
|
static |
Definition at line 1253 of file tv_rec.cpp.
Referenced by TVRec::HandleStateChange(), TVRec::run(), and TVRec::TuningShutdowns().
Definition at line 1192 of file tv_rec.cpp.
Referenced by TVRec::run(), and TVRec::TuningSignalCheck().
|
static |
Definition at line 1233 of file tv_rec.cpp.
Referenced by eit_start_rand().
|
static |
Definition at line 1809 of file tv_rec.cpp.
Referenced by TVRec::TeardownSignalMonitor().
|
static |
Definition at line 1826 of file tv_rec.cpp.
Referenced by TVRec::SetupDTVSignalMonitor().
|
static |
Adds the spacer before the last character in chan.
Definition at line 2285 of file tv_rec.cpp.
Referenced by TVRec::CheckChannelPrefix().