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
ff6f7340
Commit
ff6f7340
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 External_ES_ID descriptor to dvbinfo
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
53517376
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 @
ff6f7340
...
...
@@ -1095,6 +1095,12 @@ static void DumpFMCDescriptor(const void *p_descriptor)
}
}
static
void
DumpExternalESIDDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg_ext_es_id_dr_t
*
p_ext_es_id_dr
=
p_descriptor
;
printf
(
"External_ES_ID : 0x%04"
PRIx16
"
\n
"
,
p_ext_es_id_dr
->
i_ext_es_id
);
}
static
void
DumpContentLabellingDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg_content_labelling_dr_t
*
p_content_lbl_dr
=
p_descriptor
;
...
...
@@ -1865,6 +1871,10 @@ static void DumpDescriptor(dvbpsi_descriptor_t *p_descriptor)
p_decoded
=
dvbpsi_decode_mpeg_fmc_dr
(
p_descriptor
);
dump_dr_fn
=
DumpFMCDescriptor
;
break
;
case
0x20
:
p_decoded
=
dvbpsi_decode_mpeg_ext_es_id_dr
(
p_descriptor
);
dump_dr_fn
=
DumpExternalESIDDescriptor
;
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