diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-09-17 23:34:24 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-09-17 23:34:24 (GMT) |
commit | d4367e3fc20521235cdfc5e5eb03e7988840e32f (patch) | |
tree | 5ca35b498d8303b59b30292e349cb4435e039603 /abs/core/mythtv/stable-29/mythtv/disable_mythnotification_tuner_failure.patch | |
parent | 4739d37f1b813536b0f8d665a03f6f22a902f3e2 (diff) | |
download | linhes_pkgbuild-d4367e3fc20521235cdfc5e5eb03e7988840e32f.zip linhes_pkgbuild-d4367e3fc20521235cdfc5e5eb03e7988840e32f.tar.gz linhes_pkgbuild-d4367e3fc20521235cdfc5e5eb03e7988840e32f.tar.bz2 |
mythtv: add 29-fixes
Diffstat (limited to 'abs/core/mythtv/stable-29/mythtv/disable_mythnotification_tuner_failure.patch')
-rw-r--r-- | abs/core/mythtv/stable-29/mythtv/disable_mythnotification_tuner_failure.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/abs/core/mythtv/stable-29/mythtv/disable_mythnotification_tuner_failure.patch b/abs/core/mythtv/stable-29/mythtv/disable_mythnotification_tuner_failure.patch new file mode 100644 index 0000000..8e03f24 --- /dev/null +++ b/abs/core/mythtv/stable-29/mythtv/disable_mythnotification_tuner_failure.patch @@ -0,0 +1,43 @@ +--- src/mythtv/libs/libmythtv/tv_rec.cpp.orig 2017-09-15 21:17:57.761339002 +0000 ++++ src/mythtv/libs/libmythtv/tv_rec.cpp 2017-09-15 21:16:22.383499573 +0000 +@@ -3956,19 +3956,6 @@ MPEGStreamData *TVRec::TuningSignalCheck + newRecStatus = RecStatus::Failing; + curRecording->SaveVideoProperties(VID_DAMAGED, VID_DAMAGED); + +- QString desc = tr("Good signal seen after %1 ms") +- .arg(genOpt.channel_timeout + +- startRecordingDeadline.msecsTo(current_time)); +- QString title = curRecording->GetTitle(); +- if (!curRecording->GetSubtitle().isEmpty()) +- title += " - " + curRecording->GetSubtitle(); +- +- MythNotification mn(MythNotification::Check, desc, +- "Recording", title, +- tr("See 'Tuning timeout' in mythtv-setup " +- "for this input.")); +- gCoreContext->SendEvent(MythEvent(mn)); +- + LOG(VB_GENERAL, LOG_WARNING, LOC + + QString("It took longer than %1 ms to get a signal lock. " + "Keeping status of '%2'") +@@ -4016,19 +4003,6 @@ MPEGStreamData *TVRec::TuningSignalCheck + + SendMythSystemRecEvent("REC_FAILING", curRecording); + +- QString desc = tr("Taking more than %1 ms to get a lock.") +- .arg(genOpt.channel_timeout); +- QString title = curRecording->GetTitle(); +- if (!curRecording->GetSubtitle().isEmpty()) +- title += " - " + curRecording->GetSubtitle(); +- +- MythNotification mn(MythNotification::Error, desc, +- "Recording", title, +- tr("See 'Tuning timeout' in mythtv-setup " +- "for this input.")); +- mn.SetDuration(30); +- gCoreContext->SendEvent(MythEvent(mn)); +- + LOG(VB_GENERAL, LOG_WARNING, LOC + + QString("TuningSignalCheck: taking more than %1 ms to get a lock. " + "marking this recording as '%2'.") + |