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
676c7cb8
Commit
676c7cb8
authored
Feb 21, 2016
by
Daniel Kamil Kozar
Committed by
Jean-Paul Saman
Mar 21, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a dump function for MultiplexBuffer descriptor to dvbinfo
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
ff6f7340
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+11
-0
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
676c7cb8
...
...
@@ -1101,6 +1101,13 @@ static void DumpExternalESIDDescriptor(const void *p_descriptor)
printf
(
"External_ES_ID : 0x%04"
PRIx16
"
\n
"
,
p_ext_es_id_dr
->
i_ext_es_id
);
}
static
void
DumpMultiplexBufferDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg_mux_buf_dr_t
*
p_mux_buf_dr
=
p_descriptor
;
printf
(
"MB_buffer_size : 0x%06"
PRIx32
"
\n
"
,
p_mux_buf_dr
->
i_mb_buf_size
);
printf
(
"
\t\t
TB_leak_rate : 0x%06"
PRIx32
"
\n
"
,
p_mux_buf_dr
->
i_tb_leak_rate
);
}
static
void
DumpContentLabellingDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg_content_labelling_dr_t
*
p_content_lbl_dr
=
p_descriptor
;
...
...
@@ -1875,6 +1882,10 @@ static void DumpDescriptor(dvbpsi_descriptor_t *p_descriptor)
p_decoded
=
dvbpsi_decode_mpeg_ext_es_id_dr
(
p_descriptor
);
dump_dr_fn
=
DumpExternalESIDDescriptor
;
break
;
case
0x23
:
p_decoded
=
dvbpsi_decode_mpeg_mux_buf_dr
(
p_descriptor
);
dump_dr_fn
=
DumpMultiplexBufferDescriptor
;
break
;
case
0x24
:
p_decoded
=
dvbpsi_decode_mpeg_content_labelling_dr
(
p_descriptor
);
dump_dr_fn
=
DumpContentLabellingDescriptor
;
...
...
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