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
23799155
Commit
23799155
authored
Mar 19, 2015
by
Daniel Kamil Kozar
Committed by
Jean-Paul Saman
Mar 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo : Dump functionality for the
MPEG-4
audio descriptor
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
c8e69cd4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+13
-0
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
23799155
...
...
@@ -302,6 +302,7 @@ static void handle_atsc_MGT(void *p_data, dvbpsi_atsc_mgt_t *p_mgt);
static
void
handle_atsc_EIT
(
void
*
p_data
,
dvbpsi_atsc_eit_t
*
p_eit
);
static
void
handle_atsc_ETT
(
void
*
p_data
,
dvbpsi_atsc_ett_t
*
p_ett
);
static
void
handle_atsc_STT
(
void
*
p_data
,
dvbpsi_atsc_stt_t
*
p_stt
);
static
const
char
*
AACProfileToString
(
dvbpsi_aac_profile_and_level_t
profile
);
/*****************************************************************************
* mdate: current time in milliseconds
...
...
@@ -1037,6 +1038,14 @@ static void DumpMPEG4VideoDescriptor(const void *p_descriptor)
mpeg4_descriptor
->
i_mpeg4_visual_profile_and_level
);
}
static
void
DumpMPEG4AudioDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_mpeg4_audio_dr_t
*
mpeg4_descriptor
=
p_descriptor
;
printf
(
"MPEG-4 Audio Profile and Level : %s (0x%02x)
\n
"
,
AACProfileToString
(
mpeg4_descriptor
->
i_mpeg4_audio_profile_and_level
),
mpeg4_descriptor
->
i_mpeg4_audio_profile_and_level
);
}
/*****************************************************************************
* DumpSystemClockDescriptor
*****************************************************************************/
...
...
@@ -1642,6 +1651,10 @@ static void DumpDescriptor(dvbpsi_descriptor_t *p_descriptor)
p_decoded
=
dvbpsi_DecodeMPEG4VideoDr
(
p_descriptor
);
dump_dr_fn
=
DumpMPEG4VideoDescriptor
;
break
;
case
0x1c
:
p_decoded
=
dvbpsi_DecodeMPEG4AudioDr
(
p_descriptor
);
dump_dr_fn
=
DumpMPEG4AudioDescriptor
;
break
;
case
0x4c
:
p_decoded
=
dvbpsi_DecodeTimeShiftedServiceDr
(
p_descriptor
);
dump_dr_fn
=
DumpTimeShiftedServiceDescriptor
;
...
...
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