Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp
- index 061d6f2..1aa6b56 100644
- --- a/mythtv/programs/mythbackend/scheduler.cpp
- +++ b/mythtv/programs/mythbackend/scheduler.cpp
- @@ -56,6 +56,7 @@ bool debugConflicts = false;
- Scheduler::Scheduler(bool runthread, QMap<int, EncoderLink *> *tvList,
- QString tmptable, Scheduler *master_sched) :
- MThread("Scheduler"),
- + inSchedLiveTV(false),
- recordTable(tmptable),
- priorityTable("powerpriority"),
- schedLock(),
- @@ -539,7 +540,7 @@ void Scheduler::PrintList(RecList &list, bool onlyFutureRecordings)
- void Scheduler::PrintRec(const RecordingInfo *p, const char *prefix)
- {
- - if (!VERBOSE_LEVEL_CHECK(VB_SCHEDULE, LOG_DEBUG))
- + if (!VERBOSE_LEVEL_CHECK(VB_SCHEDULE, LOG_DEBUG) && !inSchedLiveTV)
- return;
- QString outstr;
- @@ -5156,7 +5157,9 @@ void Scheduler::SchedPreserveLiveTV(void)
- if (retrylist.empty())
- return;
- + inSchedLiveTV = true;
- MoveHigherRecords(false);
- + inSchedLiveTV = false;
- while (!retrylist.empty())
- {
- diff --git a/mythtv/programs/mythbackend/scheduler.h b/mythtv/programs/mythbackend/scheduler.h
- index 4a194a9..5d4eaef 100644
- --- a/mythtv/programs/mythbackend/scheduler.h
- +++ b/mythtv/programs/mythbackend/scheduler.h
- @@ -97,6 +97,7 @@ class Scheduler : public MThread, public MythScheduler
- virtual void run(void); // MThread
- private:
- + bool inSchedLiveTV;
- QString recordTable;
- QString priorityTable;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement