Commit e3f27d63 authored by Christophe Massiot's avatar Christophe Massiot

Remove ecm and emm non-working output options

parent f576e3dc
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
Changes between 2.0 and 2.1: Changes between 2.0 and 2.1:
---------------------------- ----------------------------
* Fix MMI menus which were accidentally broken in 2.0 * Fix MMI menus which were accidentally broken in 2.0
* Remove ecm and emm output options because they weren't working
Changes between 1.2 and 2.0: Changes between 1.2 and 2.0:
---------------------------- ----------------------------
......
...@@ -104,9 +104,9 @@ bool b_enable_emm = false; ...@@ -104,9 +104,9 @@ bool b_enable_emm = false;
bool b_enable_ecm = false; bool b_enable_ecm = false;
uint8_t pi_ssrc_global[4] = { 0, 0, 0, 0 }; uint8_t pi_ssrc_global[4] = { 0, 0, 0, 0 };
static int b_udp_global = 0; static bool b_udp_global = false;
static int b_dvb_global = 0; static bool b_dvb_global = false;
static int b_epg_global = 0; static bool b_epg_global = false;
static mtime_t i_latency_global = DEFAULT_OUTPUT_LATENCY; static mtime_t i_latency_global = DEFAULT_OUTPUT_LATENCY;
static mtime_t i_retention_global = DEFAULT_MAX_RETENTION; static mtime_t i_retention_global = DEFAULT_MAX_RETENTION;
static int i_ttl_global = 64; static int i_ttl_global = 64;
...@@ -153,9 +153,7 @@ static void config_Defaults( output_config_t *p_config ) ...@@ -153,9 +153,7 @@ static void config_Defaults( output_config_t *p_config )
p_config->i_config = (b_udp_global ? OUTPUT_UDP : 0) | p_config->i_config = (b_udp_global ? OUTPUT_UDP : 0) |
(b_dvb_global ? OUTPUT_DVB : 0) | (b_dvb_global ? OUTPUT_DVB : 0) |
(b_epg_global ? OUTPUT_EPG : 0) | (b_epg_global ? OUTPUT_EPG : 0);
(b_enable_emm ? OUTPUT_EMM : 0) |
(b_enable_ecm ? OUTPUT_ECM : 0);
p_config->i_max_retention = i_retention_global; p_config->i_max_retention = i_retention_global;
p_config->i_output_latency = i_latency_global; p_config->i_output_latency = i_latency_global;
p_config->i_tsid = -1; p_config->i_tsid = -1;
...@@ -222,14 +220,6 @@ bool config_ParseHost( output_config_t *p_config, char *psz_string ) ...@@ -222,14 +220,6 @@ bool config_ParseHost( output_config_t *p_config, char *psz_string )
p_config->i_config |= OUTPUT_DVB; p_config->i_config |= OUTPUT_DVB;
else if ( IS_OPTION("epg") ) else if ( IS_OPTION("epg") )
p_config->i_config |= OUTPUT_EPG; p_config->i_config |= OUTPUT_EPG;
else if ( IS_OPTION("emm") )
p_config->i_config |= OUTPUT_EMM;
else if ( IS_OPTION("noemm") )
p_config->i_config &= ~OUTPUT_EMM;
else if ( IS_OPTION("ecm") )
p_config->i_config |= OUTPUT_ECM;
else if ( IS_OPTION("noecm") )
p_config->i_config &= ~OUTPUT_ECM;
else if ( IS_OPTION("tsid=") ) else if ( IS_OPTION("tsid=") )
p_config->i_tsid = strtol( ARG_OPTION("tsid="), NULL, 0 ); p_config->i_tsid = strtol( ARG_OPTION("tsid="), NULL, 0 );
else if ( IS_OPTION("retention=") ) else if ( IS_OPTION("retention=") )
...@@ -740,7 +730,7 @@ int main( int i_argc, char **pp_argv ) ...@@ -740,7 +730,7 @@ int main( int i_argc, char **pp_argv )
break; break;
case 'U': case 'U':
b_udp_global = 1; b_udp_global = true;
break; break;
case 'L': case 'L':
...@@ -782,7 +772,7 @@ int main( int i_argc, char **pp_argv ) ...@@ -782,7 +772,7 @@ int main( int i_argc, char **pp_argv )
break; break;
case 'C': case 'C':
b_dvb_global = 1; b_dvb_global = true;
break; break;
case 'W': case 'W':
...@@ -791,10 +781,11 @@ int main( int i_argc, char **pp_argv ) ...@@ -791,10 +781,11 @@ int main( int i_argc, char **pp_argv )
case 'Y': case 'Y':
b_enable_ecm = true; b_enable_ecm = true;
b_dvb_global = true;
break; break;
case 'e': case 'e':
b_epg_global = 1; b_epg_global = true;
break; break;
case 'M': case 'M':
...@@ -887,7 +878,7 @@ int main( int i_argc, char **pp_argv ) ...@@ -887,7 +878,7 @@ int main( int i_argc, char **pp_argv )
if ( b_epg_global && !b_dvb_global ) if ( b_epg_global && !b_dvb_global )
{ {
msg_Dbg( NULL, "turning on DVB compliance, required by EPG information" ); msg_Dbg( NULL, "turning on DVB compliance, required by EPG information" );
b_dvb_global = 1; b_dvb_global = true;
} }
memset( &output_dup, 0, sizeof(output_dup) ); memset( &output_dup, 0, sizeof(output_dup) );
......
...@@ -52,8 +52,6 @@ ...@@ -52,8 +52,6 @@
* Bit 4 : Set for file / FIFO output, unset for network (future use) * Bit 4 : Set for file / FIFO output, unset for network (future use)
* Bit 5 : Set if DVB conformance tables are inserted * Bit 5 : Set if DVB conformance tables are inserted
* Bit 6 : Set if DVB EIT schedule tables are forwarded * Bit 6 : Set if DVB EIT schedule tables are forwarded
* Bit 7 : Set if EMM pids and CAT are forwarded
* Bit 8 : Set if ECM pids are forwarded
*****************************************************************************/ *****************************************************************************/
#define OUTPUT_WATCH 0x01 #define OUTPUT_WATCH 0x01
...@@ -63,8 +61,6 @@ ...@@ -63,8 +61,6 @@
#define OUTPUT_FILE 0x10 #define OUTPUT_FILE 0x10
#define OUTPUT_DVB 0x20 #define OUTPUT_DVB 0x20
#define OUTPUT_EPG 0x40 #define OUTPUT_EPG 0x40
#define OUTPUT_EMM (1 << 7)
#define OUTPUT_ECM (1 << 8)
typedef int64_t mtime_t; typedef int64_t mtime_t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment