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