Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dvblast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
dvblast
Commits
e3f27d63
Commit
e3f27d63
authored
Dec 26, 2011
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ecm and emm non-working output options
parent
f576e3dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
23 deletions
+11
-23
NEWS
NEWS
+1
-0
dvblast.c
dvblast.c
+10
-19
dvblast.h
dvblast.h
+0
-4
No files found.
NEWS
View file @
e3f27d63
...
...
@@ -2,6 +2,7 @@
Changes between 2.0 and 2.1:
----------------------------
* 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:
----------------------------
...
...
dvblast.c
View file @
e3f27d63
...
...
@@ -104,9 +104,9 @@ bool b_enable_emm = false;
bool
b_enable_ecm
=
false
;
uint8_t
pi_ssrc_global
[
4
]
=
{
0
,
0
,
0
,
0
};
static
int
b_udp_global
=
0
;
static
int
b_dvb_global
=
0
;
static
int
b_epg_global
=
0
;
static
bool
b_udp_global
=
false
;
static
bool
b_dvb_global
=
false
;
static
bool
b_epg_global
=
false
;
static
mtime_t
i_latency_global
=
DEFAULT_OUTPUT_LATENCY
;
static
mtime_t
i_retention_global
=
DEFAULT_MAX_RETENTION
;
static
int
i_ttl_global
=
64
;
...
...
@@ -153,9 +153,7 @@ static void config_Defaults( output_config_t *p_config )
p_config
->
i_config
=
(
b_udp_global
?
OUTPUT_UDP
:
0
)
|
(
b_dvb_global
?
OUTPUT_DVB
:
0
)
|
(
b_epg_global
?
OUTPUT_EPG
:
0
)
|
(
b_enable_emm
?
OUTPUT_EMM
:
0
)
|
(
b_enable_ecm
?
OUTPUT_ECM
:
0
);
(
b_epg_global
?
OUTPUT_EPG
:
0
);
p_config
->
i_max_retention
=
i_retention_global
;
p_config
->
i_output_latency
=
i_latency_global
;
p_config
->
i_tsid
=
-
1
;
...
...
@@ -222,14 +220,6 @@ bool config_ParseHost( output_config_t *p_config, char *psz_string )
p_config
->
i_config
|=
OUTPUT_DVB
;
else
if
(
IS_OPTION
(
"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="
)
)
p_config
->
i_tsid
=
strtol
(
ARG_OPTION
(
"tsid="
),
NULL
,
0
);
else
if
(
IS_OPTION
(
"retention="
)
)
...
...
@@ -740,7 +730,7 @@ int main( int i_argc, char **pp_argv )
break
;
case
'U'
:
b_udp_global
=
1
;
b_udp_global
=
true
;
break
;
case
'L'
:
...
...
@@ -782,7 +772,7 @@ int main( int i_argc, char **pp_argv )
break
;
case
'C'
:
b_dvb_global
=
1
;
b_dvb_global
=
true
;
break
;
case
'W'
:
...
...
@@ -791,10 +781,11 @@ int main( int i_argc, char **pp_argv )
case
'Y'
:
b_enable_ecm
=
true
;
b_dvb_global
=
true
;
break
;
case
'e'
:
b_epg_global
=
1
;
b_epg_global
=
true
;
break
;
case
'M'
:
...
...
@@ -887,7 +878,7 @@ int main( int i_argc, char **pp_argv )
if
(
b_epg_global
&&
!
b_dvb_global
)
{
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
)
);
...
...
dvblast.h
View file @
e3f27d63
...
...
@@ -52,8 +52,6 @@
* Bit 4 : Set for file / FIFO output, unset for network (future use)
* Bit 5 : Set if DVB conformance tables are inserted
* 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
...
...
@@ -63,8 +61,6 @@
#define OUTPUT_FILE 0x10
#define OUTPUT_DVB 0x20
#define OUTPUT_EPG 0x40
#define OUTPUT_EMM (1 << 7)
#define OUTPUT_ECM (1 << 8)
typedef
int64_t
mtime_t
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment