Fix infobar after virtual zap

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@314 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 7177949c91
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2010-02-11 (Thu, 11 Feb 2010)
This commit is contained in:
[CST] Focus
2010-02-11 10:54:33 +00:00
parent 6adf18a602
commit f3ab0b584d
3 changed files with 10 additions and 3 deletions

View File

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

View File

@@ -1542,7 +1542,7 @@ void CFrameBuffer::blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32
void * uKva; void * uKva;
uKva = cs_phys_addr(fbbuff); 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) { 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); 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) { if(g_settings.auto_timeshift && !CNeutrinoApp::getInstance()->recordingstatus) {
g_InfoViewer->handleMsg(NeutrinoMessages::EVT_RECORDMODE, 0); g_InfoViewer->handleMsg(NeutrinoMessages::EVT_RECORDMODE, 0);
} }
g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 ); //g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
if (bouquetList != NULL) { if (bouquetList != NULL) {
//bouquetList->adjustToChannel( getActiveChannelNumber()); //bouquetList->adjustToChannel( getActiveChannelNumber());
@@ -927,13 +927,16 @@ printf("**************************** CChannelList::zapTo me %x %s tuned %d new %
TVbouquetList->adjustToChannelID(chan->channel_id); TVbouquetList->adjustToChannelID(chan->channel_id);
TVsatList->adjustToChannelID(chan->channel_id); TVsatList->adjustToChannelID(chan->channel_id);
TVfavList->adjustToChannelID(chan->channel_id); TVfavList->adjustToChannelID(chan->channel_id);
TVallList->adjustToChannelID(chan->channel_id);
} }
else if(CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_radio) { else if(CNeutrinoApp::getInstance()->getMode() == NeutrinoMessages::mode_radio) {
RADIObouquetList->adjustToChannelID(chan->channel_id); RADIObouquetList->adjustToChannelID(chan->channel_id);
RADIOsatList->adjustToChannelID(chan->channel_id); RADIOsatList->adjustToChannelID(chan->channel_id);
RADIOfavList->adjustToChannelID(chan->channel_id); RADIOfavList->adjustToChannelID(chan->channel_id);
RADIOallList->adjustToChannelID(chan->channel_id);
} }
} }
g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
} }
} }