Guest User

Untitled

a guest
Dec 1st, 2019
99
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
  2. index 513853ddf6..36689a00a9 100644
  3. --- a/mythtv/libs/libmythtv/tv_play.cpp
  4. +++ b/mythtv/libs/libmythtv/tv_play.cpp
  5. @@ -8234,7 +8234,7 @@ void TV::UpdateOSDSignal(const PlayerContext *ctx, const QStringList &strlist)
  6.  
  7. QString sigDesc = tr("Signal %1%").arg(sig,2);
  8. if (snr > 0.0F)
  9. - sigDesc += " | " + tr("S/N %1dB").arg(log10f(snr), 3, 'f', 1);
  10. + sigDesc += " | " + tr("S/N %1dB").arg((snr / 10 + .1), 3, 'f', 1);
  11. if (ber != 0xffffffff)
  12. sigDesc += " | " + tr("BE %1", "Bit Errors").arg(ber, 2);
  13. if ((pos >= 0) && (pos < 100))
RAW Paste Data