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
1daefa11
Commit
1daefa11
authored
Mar 02, 2015
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo: add descriptor 0x10
parent
bdfb9568
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+12
-0
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
1daefa11
...
@@ -951,6 +951,15 @@ static void DumpMaxBitrateDescriptor(dvbpsi_max_bitrate_dr_t* bitrate_descriptor
...
@@ -951,6 +951,15 @@ static void DumpMaxBitrateDescriptor(dvbpsi_max_bitrate_dr_t* bitrate_descriptor
printf
(
"Bitrate: %d
\n
"
,
bitrate_descriptor
->
i_max_bitrate
);
printf
(
"Bitrate: %d
\n
"
,
bitrate_descriptor
->
i_max_bitrate
);
}
}
/*****************************************************************************
* DumpSmoothingBufferDescriptor
*****************************************************************************/
static
void
DumpSmoothingBufferDescriptor
(
dvbpsi_smoothing_buffer_dr_t
*
smoothing_descriptor
)
{
printf
(
"Leak rate: %d
\n
"
,
smoothing_descriptor
->
i_sb_leak_rate
);
printf
(
"Size: %d
\n
"
,
smoothing_descriptor
->
i_sb_size
);
}
/*****************************************************************************
/*****************************************************************************
* DumpSystemClockDescriptor
* DumpSystemClockDescriptor
*****************************************************************************/
*****************************************************************************/
...
@@ -1508,6 +1517,9 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)
...
@@ -1508,6 +1517,9 @@ static void DumpDescriptors(const char* str, dvbpsi_descriptor_t* p_descriptor)
case
0x0e
:
case
0x0e
:
DumpMaxBitrateDescriptor
(
dvbpsi_DecodeMaxBitrateDr
(
p_descriptor
));
DumpMaxBitrateDescriptor
(
dvbpsi_DecodeMaxBitrateDr
(
p_descriptor
));
break
;
break
;
case
0x10
:
DumpSmoothingBufferDescriptor
(
dvbpsi_DecodeSmoothingBufferDr
(
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