-fix(?) pmt update

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@948 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-12-19 23:46:00 +00:00
parent 56b31bed88
commit 15cc11f33b

View File

@@ -429,7 +429,7 @@ printf("[zapit] saving channel, apid %x sub pid %x mode %d volume %d\n", g_curre
pmt_stop_update_filter(&pmt_update_fd); pmt_stop_update_filter(&pmt_update_fd);
stopPlayBack(true); stopPlayBack(true);
ca->SendPMT(0, (unsigned char*) "", 0); ca->SendPMT(0, (unsigned char*) "", 0);
if(g_current_channel && g_current_channel->getCaPmt()) { if(!forupdate && g_current_channel && g_current_channel->getCaPmt()) {
delete g_current_channel->getCaPmt(); delete g_current_channel->getCaPmt();
g_current_channel->setCaPmt(NULL); g_current_channel->setCaPmt(NULL);
} }