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
3729540b
Commit
3729540b
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 SL descriptor to dvbinfo
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
9178a009
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+10
-0
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
3729540b
...
...
@@ -1077,6 +1077,12 @@ static void DumpIODDescriptor(const void *p_descriptor)
p_iod_dr
->
i_initial_object_descriptor
);
}
static
void
DumpSLDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg_sl_dr_t
*
p_sl_dr
=
p_descriptor
;
printf
(
"ES_ID : 0x%04"
PRIx16
"
\n
"
,
p_sl_dr
->
i_es_id
);
}
static
void
DumpContentLabellingDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg_content_labelling_dr_t
*
p_content_lbl_dr
=
p_descriptor
;
...
...
@@ -1839,6 +1845,10 @@ static void DumpDescriptor(dvbpsi_descriptor_t *p_descriptor)
p_decoded
=
dvbpsi_decode_mpeg_iod_dr
(
p_descriptor
);
dump_dr_fn
=
DumpIODDescriptor
;
break
;
case
0x1e
:
p_decoded
=
dvbpsi_decode_mpeg_sl_dr
(
p_descriptor
);
dump_dr_fn
=
DumpSLDescriptor
;
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