fix pmt update (2)

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


Origin commit data
------------------
Commit: a510e2e6cd
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-10 (Tue, 10 May 2011)

Origin message was:
------------------
-fix pmt update (2)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1451 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
Jacek Jendrzej
2011-05-10 10:53:56 +00:00
parent 38439639c9
commit 067a50567c

View File

@@ -2282,9 +2282,7 @@ int zapit_main_thread(void *data)
unsigned char buf[4096];
int ret = pmtDemux->Read(buf, 4095, 10);
if (ret > 0) {
#if HAVE_TRIPLEDRAGON
pmt_stop_update_filter(&pmt_update_fd);
#endif
printf("[zapit] pmt updated, sid 0x%x new version 0x%x\n", (buf[3] << 8) + buf[4], (buf[5] >> 1) & 0x1F);
if(g_current_channel) {
int vpid = g_current_channel->getVideoPid();