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: 467689cee1
Author: Jacek Jendrzej <overx300@gmail.com>
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
This commit is contained in:
Jacek Jendrzej
2011-05-10 15:56:53 +00:00
parent 3ea784f312
commit f30b25917c
2 changed files with 2 additions and 0 deletions

View File

@@ -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;
};

View File

@@ -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();