Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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
vlc-2-2
Commits
8ec82ad1
Commit
8ec82ad1
authored
Apr 29, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TS: remove useless --ts-silent option
If you really don't want it, then use NDEBUG
parent
87bad93f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
modules/demux/ts.c
modules/demux/ts.c
+4
-10
No files found.
modules/demux/ts.c
View file @
8ec82ad1
...
...
@@ -114,9 +114,6 @@ static void Close ( vlc_object_t * );
#define CSA2_LONGTEXT N_("The even CSA encryption key. This must be a " \
"16 char string (8 hexadecimal bytes).")
#define SILENT_TEXT N_("Silent mode")
#define SILENT_LONGTEXT N_("Do not complain on encrypted PES.")
#define CPKT_TEXT N_("Packet size in bytes to decrypt")
#define CPKT_LONGTEXT N_("Specify the size of the TS packet to decrypt. " \
...
...
@@ -154,11 +151,11 @@ vlc_module_begin ()
add_integer
(
"ts-csa-pkt"
,
188
,
CPKT_TEXT
,
CPKT_LONGTEXT
,
true
)
change_safe
()
add_bool
(
"ts-silent"
,
false
,
SILENT_TEXT
,
SILENT_LONGTEXT
,
true
)
add_bool
(
"ts-split-es"
,
true
,
SPLIT_ES_TEXT
,
SPLIT_ES_LONGTEXT
,
false
)
add_bool
(
"ts-seek-percent"
,
false
,
SEEK_PERCENT_TEXT
,
SEEK_PERCENT_LONGTEXT
,
true
)
add_obsolete_bool
(
"ts-silent"
);
set_capability
(
"demux"
,
10
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"ts"
)
...
...
@@ -309,7 +306,6 @@ struct demux_sys_t
bool
b_es_id_pid
;
csa_t
*
csa
;
int
i_csa_pkt_size
;
bool
b_silent
;
bool
b_split_es
;
bool
b_udp_out
;
...
...
@@ -679,7 +675,6 @@ static int Open( vlc_object_t *p_this )
}
free
(
psz_string
);
p_sys
->
b_silent
=
var_CreateGetBool
(
p_demux
,
"ts-silent"
);
p_sys
->
b_split_es
=
var_InheritBool
(
p_demux
,
"ts-split-es"
);
p_sys
->
i_pid_ref_pcr
=
-
1
;
...
...
@@ -1411,7 +1406,6 @@ static void ParsePES( demux_t *p_demux, ts_pid_t *pid, block_t *p_pes )
if
(
header
[
0
]
!=
0
||
header
[
1
]
!=
0
||
header
[
2
]
!=
1
)
{
if
(
!
p_demux
->
p_sys
->
b_silent
)
msg_Warn
(
p_demux
,
"invalid header [0x%02x:%02x:%02x:%02x] (pid: %d)"
,
header
[
0
],
header
[
1
],
header
[
2
],
header
[
3
],
pid
->
i_pid
);
block_ChainRelease
(
p_pes
);
...
...
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