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
30f89686
Commit
30f89686
authored
May 13, 2013
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo: dump descriptors 0x4c, 0x4f and 0x53.
parent
aca15c87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+38
-0
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
30f89686
...
...
@@ -904,6 +904,16 @@ static void DumpStreamIdentifierDescriptor(dvbpsi_stream_identifier_dr_t* p_si_d
printf
(
"Component tag: %d
\n
"
,
p_si_descriptor
->
i_component_tag
);
}
/*****************************************************************************
* DumpCAIdentifierDescriptor
*****************************************************************************/
static
void
DumpCAIdentifierDescriptor
(
dvbpsi_ca_identifier_dr_t
*
p_ca_descriptor
)
{
printf
(
"CA system id
\n
"
);
for
(
int
i
=
0
;
i
<
p_ca_descriptor
->
i_number
;
i
++
)
printf
(
"
\t
%d: %d
\n
"
,
i
,
p_ca_descriptor
->
p_system
[
i
].
i_ca_system_id
);
}
/*****************************************************************************
* DumpContentDescriptor
*****************************************************************************/
...
...
@@ -1219,6 +1229,25 @@ static void DumpAACDescriptor(dvbpsi_aac_dr_t *p_aac_descriptor)
printf
(
"
\t
additional info bytes: %d
\n
"
,
p_aac_descriptor
->
i_additional_info_length
);
}
/*****************************************************************************
* DumpTimeShiftedServiceDescriptor
*****************************************************************************/
static
void
DumpTimeShiftedServiceDescriptor
(
dvbpsi_tshifted_service_dr_t
*
p_ts_service
)
{
printf
(
"Time Shifted Service
\n
"
);
printf
(
"
\t
reference service id:%d"
,
p_ts_service
->
i_ref_service_id
);
}
/*****************************************************************************
* DumpTimeShiftedEventDescriptor
*****************************************************************************/
static
void
DumpTimeShiftedEventDescriptor
(
dvbpsi_tshifted_ev_dr_t
*
p_ts_event
)
{
printf
(
"Time Shifted Event"
);
printf
(
"
\t
reference service id:%d"
,
p_ts_event
->
i_ref_service_id
);
printf
(
"
\t
reference event id:%d"
,
p_ts_event
->
i_ref_event_id
);
}
/*****************************************************************************
* DumpCUEIdentifierDescriptor
*****************************************************************************/
...
...
@@ -1410,9 +1439,18 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)
case
0x0e
:
DumpMaxBitrateDescriptor
(
dvbpsi_DecodeMaxBitrateDr
(
p_descriptor
));
break
;
case
0x4c
:
DumpTimeShiftedServiceDescriptor
(
dvbpsi_DecodeTimeShiftedServiceDr
(
p_descriptor
));
break
;
case
0x4f
:
DumpTimeShiftedEventDescriptor
(
dvbpsi_DecodeTimeShiftedEventDr
(
p_descriptor
));
break
;
case
0x52
:
DumpStreamIdentifierDescriptor
(
dvbpsi_DecodeStreamIdentifierDr
(
p_descriptor
));
break
;
case
0x53
:
DumpCAIdentifierDescriptor
(
dvbpsi_DecodeCAIdentifierDr
(
p_descriptor
));
break
;
case
0x54
:
DumpContentDescriptor
(
dvbpsi_DecodeContentDr
(
p_descriptor
));
break
;
...
...
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