Fix infobar after virtual zap

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@314 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-02-11 10:54:33 +00:00
parent 1a89a38dba
commit 7177949c91
3 changed files with 10 additions and 3 deletions

View File

@@ -140,12 +140,16 @@ int dvbsub_getpid()
void dvbsub_setpid(int pid)
{
dvbsub_pid = pid;
if(dvbsub_pid == 0)
return;
clear_queue();
if(dvbSubtitleConverter)
dvbSubtitleConverter->Reset();
dvbsub_pid = pid;
pid_change_req = 1;
dvbsub_stopped = 0;

View File

@@ -1542,7 +1542,7 @@ void CFrameBuffer::blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32
void * uKva;
uKva = cs_phys_addr(fbbuff);
printf("CFrameBuffer::blit2FB: data %x Kva %x\n", (int) fbbuff, (int) uKva);
//printf("CFrameBuffer::blit2FB: data %x Kva %x\n", (int) fbbuff, (int) uKva);
if(uKva != NULL) {
cmd = GXA_CMD_BLT | GXA_CMD_NOT_TEXT | GXA_SRC_BMP_SEL(1) | GXA_DST_BMP_SEL(2) | GXA_PARAM_COUNT(3);

View File

@@ -917,7 +917,7 @@ printf("**************************** CChannelList::zapTo me %x %s tuned %d new %
if(g_settings.auto_timeshift && !CNeutrinoApp::getInstance()->recordingstatus) {
g_InfoViewer->handleMsg(NeutrinoMessages::EVT_RECORDMODE, 0);
}
g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
//g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
if (bouquetList != NULL) {
//bouquetList->adjustToChannel( getActiveChannelNumber());
@@ -927,13 +927,16 @@ printf("**************************** CChannelList::zapTo me %x %s tuned %d new %
TVbouquetList->adjustToChannelID(chan->channel_id);
TVsatList->adjustToChannelID(chan->channel_id);
TVfavList->adjustToChannelID(chan->channel_id);
TVallList->adjustToChannelID(chan->channel_id);
}
else if(CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_radio) {
RADIObouquetList->adjustToChannelID(chan->channel_id);
RADIOsatList->adjustToChannelID(chan->channel_id);
RADIOfavList->adjustToChannelID(chan->channel_id);
RADIOallList->adjustToChannelID(chan->channel_id);
}
}
g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
}
}