From a1759cbfc81c56cfb0a7642746af6f3114ea2cd5 Mon Sep 17 00:00:00 2001 From: satbaby Date: Mon, 25 Oct 2010 08:31:28 +0000 Subject: [PATCH] parse only running service git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@862 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/zapit/src/sdt.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/zapit/src/sdt.cpp b/src/zapit/src/sdt.cpp index 6aaf33f56..34ec83770 100644 --- a/src/zapit/src/sdt.cpp +++ b/src/zapit/src/sdt.cpp @@ -433,20 +433,21 @@ int parse_current_sdt( const t_transport_stream_id p_transport_stream_id, const original_network_id = (buffer[8] << 8) | buffer[9]; for (pos = 11; pos < section_length - 1; pos += descriptors_loop_length + 5) { + tmp_free_CA_mode = -1; service_id = (buffer[pos] << 8) | buffer[pos + 1]; EIT_schedule_flag = buffer[pos + 2] & 0x02; EIT_present_following_flag = buffer[pos + 2] & 0x01; running_status = buffer [pos + 3] & 0xE0; for (unsigned short i=0; i