mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
src/gui/streaminfo2.cpp show max 16 apids
Origin commit data
------------------
Commit: 3a64f6c230
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)
This commit is contained in:
@@ -724,7 +724,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
sprintf(buf, "%s", g_Locale->getText(LOCALE_STREAMINFO_NOT_AVAILABLE));
|
sprintf(buf, "%s", g_Locale->getText(LOCALE_STREAMINFO_NOT_AVAILABLE));
|
||||||
} else {
|
} else {
|
||||||
unsigned int sw=spaceoffset;
|
unsigned int sw=spaceoffset;
|
||||||
for (unsigned int li= 0; (li<g_RemoteControl->current_PIDs.APIDs.size()) && (li<10); li++)
|
for (unsigned int li= 0; (li<g_RemoteControl->current_PIDs.APIDs.size()) && (li<16); li++)
|
||||||
{
|
{
|
||||||
sprintf(buf, "0x%04X (%i)", g_RemoteControl->current_PIDs.APIDs[li].pid, g_RemoteControl->current_PIDs.APIDs[li].pid );
|
sprintf(buf, "0x%04X (%i)", g_RemoteControl->current_PIDs.APIDs[li].pid, g_RemoteControl->current_PIDs.APIDs[li].pid );
|
||||||
if (li == g_RemoteControl->current_PIDs.PIDs.selected_apid){
|
if (li == g_RemoteControl->current_PIDs.PIDs.selected_apid){
|
||||||
@@ -734,7 +734,7 @@ void CStreamInfo2::paint_techinfo(int xpos, int ypos)
|
|||||||
g_Font[font_small]->RenderString(xpos+sw, ypos, box_width, buf, COL_INFOBAR_TEXT);
|
g_Font[font_small]->RenderString(xpos+sw, ypos, box_width, buf, COL_INFOBAR_TEXT);
|
||||||
}
|
}
|
||||||
sw = g_Font[font_small]->getRenderWidth(buf)+sw+10;
|
sw = g_Font[font_small]->getRenderWidth(buf)+sw+10;
|
||||||
if (((li+1)%3 == 0) &&(g_RemoteControl->current_PIDs.APIDs.size()-1 > li)){ // if we have lots of apids, put "intermediate" line with pids
|
if (((li+1)%4 == 0) &&(g_RemoteControl->current_PIDs.APIDs.size()-1 > li)){ // if we have lots of apids, put "intermediate" line with pids
|
||||||
ypos+= sheight;
|
ypos+= sheight;
|
||||||
sw=spaceoffset;
|
sw=spaceoffset;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user