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
cd56127f
Commit
cd56127f
authored
Dec 28, 2009
by
Marian Ďurkovič
Committed by
Christophe Massiot
Dec 28, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* demux.c: Make sure we reset CAM if it outputs garbage (invalid PES headers)
parent
a83c133e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
demux.c
demux.c
+3
-2
dvblast.h
dvblast.h
+1
-1
No files found.
demux.c
View file @
cd56127f
...
...
@@ -255,12 +255,13 @@ static void demux_Handle( block_t *p_ts )
output_t
*
p_output
=
p_pids
[
i_pid
].
pp_outputs
[
i
];
if
(
p_output
!=
NULL
)
{
if
(
i_ca_handle
&&
(
p_output
->
i_config
&
OUTPUT_WATCH
)
)
if
(
i_ca_handle
&&
(
p_output
->
i_config
&
OUTPUT_WATCH
)
&&
block_UnitStart
(
p_ts
)
)
{
uint8_t
*
p_payload
;
if
(
block_GetScrambling
(
p_ts
)
||
(
block_UnitStart
(
p_ts
)
&&
p_pids
[
i_pid
].
b_pes
(
p_pids
[
i_pid
].
b_pes
&&
(
p_payload
=
block_GetPayload
(
p_ts
))
!=
NULL
&&
p_payload
+
3
<
p_ts
->
p_ts
+
TS_SIZE
&&
(
p_payload
[
0
]
!=
0
||
p_payload
[
1
]
!=
0
...
...
dvblast.h
View file @
cd56127f
...
...
@@ -32,7 +32,7 @@
#define EMPTY_PID 8192
#define PADDING_PID 8191
#define WATCHDOG_WAIT 10000000LL
#define MAX_ERRORS 1000
00
#define MAX_ERRORS 1000
#define DEFAULT_VERBOSITY 3
/*****************************************************************************
...
...
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