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
9178a009
Commit
9178a009
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 IOD descriptor to dvbinfo
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
8efa5a12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+14
-0
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
9178a009
...
@@ -1067,6 +1067,16 @@ static void DumpMPEG4AudioDescriptor(const void *p_descriptor)
...
@@ -1067,6 +1067,16 @@ static void DumpMPEG4AudioDescriptor(const void *p_descriptor)
mpeg4_descriptor
->
i_mpeg4_audio_profile_and_level
);
mpeg4_descriptor
->
i_mpeg4_audio_profile_and_level
);
}
}
static
void
DumpIODDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg_iod_dr_t
*
p_iod_dr
=
p_descriptor
;
printf
(
"Scope of IOD label : 0x%02"
PRIx8
"
\n
"
,
p_iod_dr
->
i_scope_of_iod_label
);
printf
(
"
\t\t
IOD label : 0x%02"
PRIx8
"
\n
"
,
p_iod_dr
->
i_iod_label
);
printf
(
"
\t\t
InitialObjectDescriptor : 0x%02"
PRIx8
"
\n
"
,
p_iod_dr
->
i_initial_object_descriptor
);
}
static
void
DumpContentLabellingDescriptor
(
const
void
*
p_descriptor
)
static
void
DumpContentLabellingDescriptor
(
const
void
*
p_descriptor
)
{
{
const
dvbpsi_mpeg_content_labelling_dr_t
*
p_content_lbl_dr
=
p_descriptor
;
const
dvbpsi_mpeg_content_labelling_dr_t
*
p_content_lbl_dr
=
p_descriptor
;
...
@@ -1825,6 +1835,10 @@ static void DumpDescriptor(dvbpsi_descriptor_t *p_descriptor)
...
@@ -1825,6 +1835,10 @@ static void DumpDescriptor(dvbpsi_descriptor_t *p_descriptor)
p_decoded
=
dvbpsi_decode_mpeg_mpeg4_audio_dr
(
p_descriptor
);
p_decoded
=
dvbpsi_decode_mpeg_mpeg4_audio_dr
(
p_descriptor
);
dump_dr_fn
=
DumpMPEG4AudioDescriptor
;
dump_dr_fn
=
DumpMPEG4AudioDescriptor
;
break
;
break
;
case
0x1d
:
p_decoded
=
dvbpsi_decode_mpeg_iod_dr
(
p_descriptor
);
dump_dr_fn
=
DumpIODDescriptor
;
break
;
case
0x24
:
case
0x24
:
p_decoded
=
dvbpsi_decode_mpeg_content_labelling_dr
(
p_descriptor
);
p_decoded
=
dvbpsi_decode_mpeg_content_labelling_dr
(
p_descriptor
);
dump_dr_fn
=
DumpContentLabellingDescriptor
;
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