Browse Source

sdt: Change free_ca_mode to default to non encypted service.

Georgi Chorbadzhiyski 7 years ago
parent
commit
4e98993eb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sdt_desc.c

+ 1 - 1
sdt_desc.c View File

@@ -80,7 +80,7 @@ static int ts_sdt_add_stream(struct ts_sdt *sdt, uint16_t service_id, uint8_t *d
80 80
 	sinfo->EIT_schedule_flag          = 0;			// 1 bit
81 81
 	sinfo->EIT_present_following_flag = 1;			// 1 bit (1 byte) We have EIT
82 82
 	sinfo->running_status             = 4;			// 3 bits
83
-	sinfo->free_CA_mode               = 1;			// 1 bit
83
+	sinfo->free_CA_mode               = 0;			// 1 bit (0 == not scrambled)
84 84
 
85 85
 	sinfo->descriptor_size            = desc_size;	// 12 bits (2 bytes)
86 86
 	sinfo->descriptor_data            = desc;		// desc_size bytes