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
7ff4682a
Commit
7ff4682a
authored
Feb 17, 2017
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvbinfo: improve layout
parent
71eac086
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
examples/dvbinfo/libdvbpsi.c
examples/dvbinfo/libdvbpsi.c
+11
-10
No files found.
examples/dvbinfo/libdvbpsi.c
View file @
7ff4682a
...
...
@@ -1199,11 +1199,12 @@ static void DumpSystemClockDescriptor(const void *p_descriptor)
static
void
DumpComponentDescriptor
(
const
void
*
p_descriptor
)
{
const
dvbpsi_dvb_component_dr_t
*
p_dvb_component_dr
=
p_descriptor
;
printf
(
"
S
tream content: %d
\n
"
,
p_dvb_component_dr
->
i_stream_content
);
printf
(
"
C
omponent type: %d
\n
"
,
p_dvb_component_dr
->
i_component_type
);
printf
(
"
C
omponent tag : %d
\n
"
,
p_dvb_component_dr
->
i_component_tag
);
printf
(
"ISO 639 code : %c%c%c
\n
"
,
p_dvb_component_dr
->
i_iso_639_code
[
0
],
printf
(
"
\t\t
s
tream content: %d
\n
"
,
p_dvb_component_dr
->
i_stream_content
);
printf
(
"
\t\t
c
omponent type: %d
\n
"
,
p_dvb_component_dr
->
i_component_type
);
printf
(
"
\t\t
c
omponent tag : %d
\n
"
,
p_dvb_component_dr
->
i_component_tag
);
printf
(
"
\t\t
ISO 639 code : %c%c%c
\n
"
,
p_dvb_component_dr
->
i_iso_639_code
[
0
],
p_dvb_component_dr
->
i_iso_639_code
[
1
],
p_dvb_component_dr
->
i_iso_639_code
[
2
]);
printf
(
"
\t\t
text :"
);
for
(
int
i
=
0
;
i
<
p_dvb_component_dr
->
i_text_length
;
i
++
)
{
printf
(
"%c"
,
p_dvb_component_dr
->
i_text
[
i
]);
}
...
...
@@ -1400,8 +1401,8 @@ static void DumpParentalRatingDescriptor(const void *p_descriptor)
const
dvbpsi_dvb_parental_rating_dr_t
*
p_parental_rating_descriptor
=
p_descriptor
;
printf
(
"Parental ratings
\n
"
);
for
(
int
i
=
0
;
i
<
p_parental_rating_descriptor
->
i_ratings_number
;
i
++
)
{;
printf
(
"
\t
C
ountry : %d
\n
"
,
p_parental_rating_descriptor
->
p_parental_rating
[
i
].
i_country_code
);
printf
(
"
\t
R
ating : %d
\n
"
,
p_parental_rating_descriptor
->
p_parental_rating
[
i
].
i_rating
);
printf
(
"
\t
\t
c
ountry : %d
\n
"
,
p_parental_rating_descriptor
->
p_parental_rating
[
i
].
i_country_code
);
printf
(
"
\t
\t
r
ating : %d
\n
"
,
p_parental_rating_descriptor
->
p_parental_rating
[
i
].
i_rating
);
}
}
...
...
@@ -1413,13 +1414,13 @@ static void DumpTeletextDescriptor(const void *p_descriptor)
const
dvbpsi_dvb_teletext_dr_t
*
p_teletext_descriptor
=
p_descriptor
;
printf
(
"Teletext pages
\n
"
);
for
(
int
i
=
0
;
i
<
p_teletext_descriptor
->
i_pages_number
;
i
++
)
{
printf
(
"
\t
ISO 6392 language code: %c%c%c
\n
"
,
printf
(
"
\t
\t
ISO 6392 language code: %c%c%c
\n
"
,
p_teletext_descriptor
->
p_pages
[
i
].
i_iso6392_language_code
[
0
],
p_teletext_descriptor
->
p_pages
[
i
].
i_iso6392_language_code
[
1
],
p_teletext_descriptor
->
p_pages
[
i
].
i_iso6392_language_code
[
2
]);
printf
(
"
\t
T
eletext type : %d
\n
"
,
p_teletext_descriptor
->
p_pages
[
i
].
i_teletext_type
);
printf
(
"
\t
T
eletext magazine : %d
\n
"
,
p_teletext_descriptor
->
p_pages
[
i
].
i_teletext_magazine_number
);
printf
(
"
\t
T
eletext page : %d
\n
"
,
p_teletext_descriptor
->
p_pages
[
i
].
i_teletext_page_number
);
printf
(
"
\t
\t
t
eletext type : %d
\n
"
,
p_teletext_descriptor
->
p_pages
[
i
].
i_teletext_type
);
printf
(
"
\t
\t
t
eletext magazine : %d
\n
"
,
p_teletext_descriptor
->
p_pages
[
i
].
i_teletext_magazine_number
);
printf
(
"
\t
\t
t
eletext page : %d
\n
"
,
p_teletext_descriptor
->
p_pages
[
i
].
i_teletext_page_number
);
}
}
...
...
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