mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
-add show Cryptsysteme tiny fix
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@340 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -182,10 +182,10 @@ int CStreamInfo2::doSignalStrengthLoop ()
|
|||||||
sprintf(tmp_str, "%s:",g_Locale->getText(LOCALE_STREAMINFO_BITRATE));
|
sprintf(tmp_str, "%s:",g_Locale->getText(LOCALE_STREAMINFO_BITRATE));
|
||||||
g_Font[font_info]->RenderString(dx1 , average_bitrate_pos, offset+10, tmp_str, COL_MENUCONTENTDARK, 0, true);
|
g_Font[font_info]->RenderString(dx1 , average_bitrate_pos, offset+10, tmp_str, COL_MENUCONTENTDARK, 0, true);
|
||||||
sprintf(currate, "%5llu.%02llu", rate.short_average / 1000ULL, rate.short_average % 1000ULL);
|
sprintf(currate, "%5llu.%02llu", rate.short_average / 1000ULL, rate.short_average % 1000ULL);
|
||||||
frameBuffer->paintBoxRel (dx1 + offset + 10 , average_bitrate_pos -dheight, sw, dheight, COL_MENUHEAD_PLUS_0);
|
frameBuffer->paintBoxRel (dx1 + average_bitrate_offset , average_bitrate_pos -dheight, sw, dheight, COL_MENUHEAD_PLUS_0);
|
||||||
g_Font[font_info]->RenderString (dx1 + offset + 15, average_bitrate_pos, sw - 10, currate, COL_MENUCONTENTDARK);
|
g_Font[font_info]->RenderString (dx1 + average_bitrate_offset , average_bitrate_pos, sw - 10, currate, COL_MENUCONTENTDARK);
|
||||||
sprintf(tmp_str, "(%s)",g_Locale->getText(LOCALE_STREAMINFO_AVERAGE_BITRATE));
|
sprintf(tmp_str, "(%s)",g_Locale->getText(LOCALE_STREAMINFO_AVERAGE_BITRATE));
|
||||||
g_Font[font_info]->RenderString (dx1 + offset+sw + 15, average_bitrate_pos, sw *2, tmp_str, COL_MENUCONTENTDARK);
|
g_Font[font_info]->RenderString (dx1 + average_bitrate_offset + sw , average_bitrate_pos, sw *2, tmp_str, COL_MENUCONTENTDARK);
|
||||||
|
|
||||||
}
|
}
|
||||||
if(snrscale && sigscale)
|
if(snrscale && sigscale)
|
||||||
@@ -463,7 +463,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
if(spaceoffset < array[i])
|
if(spaceoffset < array[i])
|
||||||
spaceoffset = array[i];
|
spaceoffset = array[i];
|
||||||
}
|
}
|
||||||
spaceoffset+=4;
|
average_bitrate_offset = spaceoffset+=4;
|
||||||
|
|
||||||
videoDecoder->getPictureInfo(xres, yres, framerate);
|
videoDecoder->getPictureInfo(xres, yres, framerate);
|
||||||
aspectRatio = videoDecoder->getAspectRatio();
|
aspectRatio = videoDecoder->getAspectRatio();
|
||||||
|
@@ -61,7 +61,8 @@ class CStreamInfo2 : public CMenuTarget
|
|||||||
int sig_text_sig_x;
|
int sig_text_sig_x;
|
||||||
int sig_text_snr_x;
|
int sig_text_snr_x;
|
||||||
int sig_text_rate_x;
|
int sig_text_rate_x;
|
||||||
int average_bitrate_pos;
|
int average_bitrate_pos;
|
||||||
|
int average_bitrate_offset;
|
||||||
unsigned int scaling;
|
unsigned int scaling;
|
||||||
struct feSignal {
|
struct feSignal {
|
||||||
unsigned long ber, old_ber, max_ber, min_ber;
|
unsigned long ber, old_ber, max_ber, min_ber;
|
||||||
|
Reference in New Issue
Block a user