Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Steve Lhomme
VLC
Commits
4da7c465
Commit
4da7c465
authored
10 years ago
by
François Cartegnie
Browse files
Options
Downloads
Patches
Plain Diff
ts: dvbpsi: don't spam with irrelevant errors
should be fixed from libdvbpsi >= 1.2.0
parent
42350148
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/mux/mpeg/dvbpsi_compat.h
+9
-1
9 additions, 1 deletion
modules/mux/mpeg/dvbpsi_compat.h
with
9 additions
and
1 deletion
modules/mux/mpeg/dvbpsi_compat.h
+
9
−
1
View file @
4da7c465
...
...
@@ -30,7 +30,15 @@ static inline void dvbpsi_messages(dvbpsi_t *p_dvbpsi, const dvbpsi_msg_level_t
/* See dvbpsi.h for the definition of these log levels.*/
switch
(
level
)
{
case
DVBPSI_MSG_ERROR
:
msg_Err
(
obj
,
"%s"
,
msg
);
break
;
case
DVBPSI_MSG_ERROR
:
{
#if DVBPSI_VERSION_INT <= ((1 << 16) + (2 << 8))
if
(
strncmp
(
msg
,
"libdvbpsi (PMT decoder): "
,
25
)
||
(
strncmp
(
&
msg
[
25
],
"invalid section"
,
15
)
&&
strncmp
(
&
msg
[
25
],
"'program_number' don't match"
,
28
)
)
)
#endif
msg_Err
(
obj
,
"%s"
,
msg
);
break
;
}
case
DVBPSI_MSG_WARN
:
msg_Warn
(
obj
,
"%s"
,
msg
);
break
;
case
DVBPSI_MSG_NONE
:
case
DVBPSI_MSG_DEBUG
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment