From 15cc11f33bb9bc58a1739246f23d37331424bfaf Mon Sep 17 00:00:00 2001 From: satbaby Date: Sun, 19 Dec 2010 23:46:00 +0000 Subject: [PATCH] -fix(?) pmt update git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@948 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/zapit/src/zapit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index e6662be1e..a4e45fae0 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -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); stopPlayBack(true); 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(); g_current_channel->setCaPmt(NULL); }