From 2788e738f2eeb083eddbf668a18614ec031d0f3a Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 8 Feb 2010 18:54:57 +0000 Subject: [PATCH] show current bitrate git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@305 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3f252e9eac14d97ece05f31339864f1aa162e419 Author: Jacek Jendrzej Date: 2010-02-08 (Mon, 08 Feb 2010) ------------------ This commit was generated by Migit --- src/gui/streaminfo2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 4ba6f5a4f..fabf173c9 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -348,7 +348,7 @@ void CStreamInfo2::paint_signal_fe(struct bitrate br, struct feSignal s) frameBuffer->paintVLine(sigBox_x+sigBox_pos, sigBox_y, sigBox_y+sigBox_h, COL_WHITE); frameBuffer->paintVLine(sigBox_x+x_now, sigBox_y, sigBox_y+sigBox_h+1, COL_BLACK); - long value = (long) (br.short_average / 1000ULL); + long value = (long) (bit_s / 1000ULL); SignalRenderStr(value, sig_text_rate_x, yt - sheight); SignalRenderStr(br.max_short_average/ 1000ULL, sig_text_rate_x, yt - sheight - sheight);