Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Steve Lhomme
vlc
Commits
4da7c465
Commit
4da7c465
authored
Mar 16, 2015
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts: dvbpsi: don't spam with irrelevant errors
should be fixed from libdvbpsi >= 1.2.0
parent
42350148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
modules/mux/mpeg/dvbpsi_compat.h
modules/mux/mpeg/dvbpsi_compat.h
+9
-1
No files found.
modules/mux/mpeg/dvbpsi_compat.h
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
:
...
...
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