From f30b25917c29679f02ef72d56ef6df64d388f119 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Tue, 10 May 2011 15:56:53 +0000 Subject: [PATCH] add pmt version to CurrentServiceInfo git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1454 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/467689cee1755310e952143f559d10b3b3e1efa2 Author: Jacek Jendrzej Date: 2011-05-10 (Tue, 10 May 2011) Origin message was: ------------------ -add pmt version to CurrentServiceInfo git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1454 e54a6e83-5905-42d5-8d5c-058d10e6a962 ------------------ This commit was generated by Migit --- src/zapit/include/zapit/client/zapitclient.h | 1 + src/zapit/src/zapit.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/zapit/include/zapit/client/zapitclient.h b/src/zapit/include/zapit/client/zapitclient.h index 5857f07ed..cc8251e98 100644 --- a/src/zapit/include/zapit/client/zapitclient.h +++ b/src/zapit/include/zapit/client/zapitclient.h @@ -213,6 +213,7 @@ class CZapitClient:public CBasicClient unsigned char polarisation; unsigned char diseqc; unsigned short pmtpid; + unsigned short pmt_version; uint32_t rate; fe_code_rate fec; }; diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index 7ef3aee3e..ffead88f3 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -926,6 +926,7 @@ bool zapit_parse_command(CBasicMessage::Header &rmsg, int connfd) msgCurrentServiceInfo.apid = g_current_channel->getAudioPid(); msgCurrentServiceInfo.vtxtpid = g_current_channel->getTeletextPid(); msgCurrentServiceInfo.pmtpid = g_current_channel->getPmtPid(); + msgCurrentServiceInfo.pmt_version = g_current_channel->getCaPmt()->version_number; msgCurrentServiceInfo.pcrpid = g_current_channel->getPcrPid(); msgCurrentServiceInfo.tsfrequency = frontend->getFrequency(); msgCurrentServiceInfo.rate = frontend->getRate();