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
7c5dcf37
Commit
7c5dcf37
authored
Mar 04, 2015
by
Daniel Kamil Kozar
Committed by
Jean-Paul Saman
Mar 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add dump functionality for the IBP descriptor to dvbinfo
Signed-off-by:
Jean-Paul Saman
<
jpsaman@videolan.org
>
parent
4160dd94
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 @
7c5dcf37
...
@@ -968,6 +968,16 @@ static void DumpSTDDescriptor(dvbpsi_std_dr_t* std_descriptor)
...
@@ -968,6 +968,16 @@ static void DumpSTDDescriptor(dvbpsi_std_dr_t* std_descriptor)
printf
(
"Leak valid flag: %d
\n
"
,
std_descriptor
->
b_leak_valid_flag
);
printf
(
"Leak valid flag: %d
\n
"
,
std_descriptor
->
b_leak_valid_flag
);
}
}
/*****************************************************************************
* DumpIBPDescriptor
*****************************************************************************/
static
void
DumpIBPDescriptor
(
dvbpsi_ibp_dr_t
*
ibp_descriptor
)
{
printf
(
"Closed GOP flag: %d
\n
"
,
ibp_descriptor
->
b_closed_gop_flag
);
printf
(
"Identical GOP flag: %d
\n
"
,
ibp_descriptor
->
b_identical_gop_flag
);
printf
(
"Max GOP length: %"
PRIu16
"
\n
"
,
ibp_descriptor
->
i_max_gop_length
);
}
/*****************************************************************************
/*****************************************************************************
* DumpSystemClockDescriptor
* DumpSystemClockDescriptor
*****************************************************************************/
*****************************************************************************/
...
@@ -1531,6 +1541,9 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)
...
@@ -1531,6 +1541,9 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)
case
0x11
:
case
0x11
:
DumpSTDDescriptor
(
dvbpsi_DecodeSTDDr
(
p_descriptor
));
DumpSTDDescriptor
(
dvbpsi_DecodeSTDDr
(
p_descriptor
));
break
;
break
;
case
0x12
:
DumpIBPDescriptor
(
dvbpsi_DecodeIBPDr
(
p_descriptor
));
break
;
case
0x4c
:
case
0x4c
:
DumpTimeShiftedServiceDescriptor
(
dvbpsi_DecodeTimeShiftedServiceDr
(
p_descriptor
));
DumpTimeShiftedServiceDescriptor
(
dvbpsi_DecodeTimeShiftedServiceDr
(
p_descriptor
));
break
;
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