Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libdvbpsi
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
libdvbpsi
Commits
e238d942
Commit
e238d942
authored
Mar 28, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
examples/dvbinfo: honor debug setting regardless
Do not make an exception for dvbpsi tables debugging.
parent
9a5a4fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+6
-7
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
e238d942
...
...
@@ -1202,7 +1202,6 @@ ts_stream_t *libdvbpsi_init(int debug)
return
NULL
;
/* print PSI tables debug anyway, unless no debug is wanted at all */
enum
dvbpsi_msg_level
level
=
(
debug
==
0
)
?
DVBPSI_MSG_NONE
:
DVBPSI_MSG_DEBUG
;
switch
(
debug
)
{
case
0
:
stream
->
level
=
DVBPSI_MSG_NONE
;
break
;
...
...
@@ -1212,7 +1211,7 @@ ts_stream_t *libdvbpsi_init(int debug)
}
/* PAT */
stream
->
pat
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
level
);
stream
->
pat
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
stream
->
level
);
if
(
stream
->
pat
.
handle
==
NULL
)
goto
error
;
if
(
!
dvbpsi_AttachPAT
(
stream
->
pat
.
handle
,
handle_PAT
,
stream
))
...
...
@@ -1222,11 +1221,11 @@ ts_stream_t *libdvbpsi_init(int debug)
goto
error
;
}
/* PMT */
stream
->
pmt
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
level
);
stream
->
pmt
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
stream
->
level
);
if
(
stream
->
pmt
.
handle
==
NULL
)
goto
error
;
/* CAT */
stream
->
cat
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
level
);
stream
->
cat
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
stream
->
level
);
if
(
stream
->
pat
.
handle
==
NULL
)
goto
error
;
if
(
!
dvbpsi_AttachCAT
(
stream
->
cat
.
handle
,
handle_CAT
,
stream
))
...
...
@@ -1236,7 +1235,7 @@ ts_stream_t *libdvbpsi_init(int debug)
goto
error
;
}
/* SDT demuxer */
stream
->
sdt
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
level
);
stream
->
sdt
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
stream
->
level
);
if
(
stream
->
sdt
.
handle
==
NULL
)
goto
error
;
if
(
!
dvbpsi_AttachDemux
(
stream
->
sdt
.
handle
,
handle_subtable
,
stream
))
...
...
@@ -1246,7 +1245,7 @@ ts_stream_t *libdvbpsi_init(int debug)
goto
error
;
}
/* EIT demuxer */
stream
->
eit
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
level
);
stream
->
eit
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
stream
->
level
);
if
(
stream
->
eit
.
handle
==
NULL
)
goto
error
;
if
(
!
dvbpsi_AttachDemux
(
stream
->
eit
.
handle
,
handle_subtable
,
stream
))
...
...
@@ -1256,7 +1255,7 @@ ts_stream_t *libdvbpsi_init(int debug)
goto
error
;
}
/* TDT demuxer */
stream
->
tdt
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
level
);
stream
->
tdt
.
handle
=
dvbpsi_NewHandle
(
&
dvbpsi_message
,
stream
->
level
);
if
(
stream
->
tdt
.
handle
==
NULL
)
goto
error
;
if
(
!
dvbpsi_AttachDemux
(
stream
->
tdt
.
handle
,
handle_subtable
,
stream
))
...
...
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