Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bitstream
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
bitstream
Commits
f82c68f6
Commit
f82c68f6
authored
Oct 12, 2011
by
Georgi Chorbadzhiyski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix XML printing of descriptors 0x2a, 0x2b and 0x2c.
parent
ade98771
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
examples/dvb_print_si.output.txt
examples/dvb_print_si.output.txt
+1
-1
examples/dvb_print_si.output.xml
examples/dvb_print_si.output.xml
+3
-3
mpeg/psi/desc_2a.h
mpeg/psi/desc_2a.h
+2
-2
mpeg/psi/desc_2b.h
mpeg/psi/desc_2b.h
+1
-1
mpeg/psi/desc_2c.h
mpeg/psi/desc_2c.h
+1
-1
No files found.
examples/dvb_print_si.output.txt
View file @
f82c68f6
...
...
@@ -263,7 +263,7 @@ new PMT program=20000 version=1 pcrpid=110
- desc 2c flexmux_timing fcr_es_id=0x1234 fcr_resolution=123456789 fcr_length=55 fmx_rate_length=66
* ES pid=126 streamtype=0x1b streamtype_txt="H.264/14496-10 video (MPEG-4/AVC)"
- desc 28 avc_video profile_idc=0x12 constraint_set0_flag=1 constraint_set1_flag=1 constraint_set2_flag=0 AVC_compatible_flags=0x0a level_idc=0x34 AVC_still_present=0 AVC_24_hour_picture_flag=0
- desc 2a avc_timing_and_hrd hrd_management_valid_flag=0 picture_and_timing_info_present=1
90khz_flag
=0 N=12345678 K=34567890 num_units_in_tick=456789 fixed_frame_rate_flag=1 temporal_poc_flag=0 picture_to_display_conversion_flag=1
- desc 2a avc_timing_and_hrd hrd_management_valid_flag=0 picture_and_timing_info_present=1
flag_90khz
=0 N=12345678 K=34567890 num_units_in_tick=456789 fixed_frame_rate_flag=1 temporal_poc_flag=0 picture_to_display_conversion_flag=1
* ES pid=127 streamtype=0x0f streamtype_txt="13818-7 Audio with ADTS transport syntax"
- desc 42 stuffing length=4
- desc 2b mpeg2_aac_audio profile=0x12 channel_config=0x05 additional_info=0x00
...
...
examples/dvb_print_si.output.xml
View file @
f82c68f6
...
...
@@ -465,7 +465,7 @@
<METADATA_STD_DESC
input_leak_rate=
"12345"
buffer_size=
"23456"
output_leak_rate=
"34567"
/>
</DESC>
<DESC
id=
"0x2c"
length=
"8"
value=
"1234075bcd153742"
>
<FLEXMUX_TIMING_DESC
fcr_es_id=
"0x1234"
fcr_resolution=
"123456789"
fcr_length=
"55"
fmx_rate_length=
"66"
<FLEXMUX_TIMING_DESC
fcr_es_id=
"0x1234"
fcr_resolution=
"123456789"
fcr_length=
"55"
fmx_rate_length=
"66"
/>
</DESC>
</ES>
<ES
pid=
"126"
streamtype=
"0x1b"
streamtype_txt=
"H.264/14496-10 video (MPEG-4/AVC)"
>
...
...
@@ -473,7 +473,7 @@
<AVC_VIDEO_DESC
profile_idc=
"0x12"
constraint_set0_flag=
"1"
constraint_set1_flag=
"1"
constraint_set2_flag=
"0"
AVC_compatible_flags=
"0x0a"
level_idc=
"0x34"
AVC_still_present=
"0"
AVC_24_hour_picture_flag=
"0"
/>
</DESC>
<DESC
id=
"0x2a"
length=
"15"
value=
"7f7f00bc614e020f76d20006f855bf"
>
<AVC_TIMING_AND_HRD_DESC
hrd_management_valid_flag=
"0"
picture_and_timing_info_present=
"1"
90khz_flag
=
"0"
N=
"12345678"
K=
"34567890"
num_units_in_tick=
"456789"
fixed_frame_rate_flag=
"1"
temporal_poc_flag=
"0"
picture_to_display_conversion_flag=
"1"
/>
<AVC_TIMING_AND_HRD_DESC
hrd_management_valid_flag=
"0"
picture_and_timing_info_present=
"1"
flag_90khz
=
"0"
N=
"12345678"
K=
"34567890"
num_units_in_tick=
"456789"
fixed_frame_rate_flag=
"1"
temporal_poc_flag=
"0"
picture_to_display_conversion_flag=
"1"
/>
</DESC>
</ES>
<ES
pid=
"127"
streamtype=
"0x0f"
streamtype_txt=
"13818-7 Audio with ADTS transport syntax"
>
...
...
@@ -481,7 +481,7 @@
<STUFFING_DESC
length=
"4"
/>
</DESC>
<DESC
id=
"0x2b"
length=
"3"
value=
"120500"
>
<MPEG2_AAC_AUDIO_DESC
profile=
"0x12"
channel_config=
"0x05"
additional_info=
"0x00"
<MPEG2_AAC_AUDIO_DESC
profile=
"0x12"
channel_config=
"0x05"
additional_info=
"0x00"
/>
</DESC>
</ES>
</PMT>
...
...
mpeg/psi/desc_2a.h
View file @
f82c68f6
...
...
@@ -231,7 +231,7 @@ static inline void desc2a_print(const uint8_t *p_desc, f_print pf_print,
case
PRINT_XML
:
pf_print
(
opaque
,
"<AVC_TIMING_AND_HRD_DESC hrd_management_valid_flag=
\"
%u
\"
"
" picture_and_timing_info_present=
\"
%u
\"
"
"
90khz_flag
=
\"
%u
\"
N=
\"
%u
\"
K=
\"
%u
\"
num_units_in_tick=
\"
%u
\"
"
"
flag_90khz
=
\"
%u
\"
N=
\"
%u
\"
K=
\"
%u
\"
num_units_in_tick=
\"
%u
\"
"
" fixed_frame_rate_flag=
\"
%u
\"
temporal_poc_flag=
\"
%u
\"
"
" picture_to_display_conversion_flag=
\"
%u
\"
/>"
,
desc2a_get_hrd_management_valid_flag
(
p_desc
),
...
...
@@ -248,7 +248,7 @@ static inline void desc2a_print(const uint8_t *p_desc, f_print pf_print,
default:
pf_print
(
opaque
,
" - desc 2a avc_timing_and_hrd hrd_management_valid_flag=%u"
" picture_and_timing_info_present=%u"
"
90khz_flag
=%u N=%u K=%u num_units_in_tick=%u"
"
flag_90khz
=%u N=%u K=%u num_units_in_tick=%u"
" fixed_frame_rate_flag=%u temporal_poc_flag=%u"
" picture_to_display_conversion_flag=%u"
,
desc2a_get_hrd_management_valid_flag
(
p_desc
),
...
...
mpeg/psi/desc_2b.h
View file @
f82c68f6
...
...
@@ -93,7 +93,7 @@ static inline void desc2b_print(const uint8_t *p_desc, f_print pf_print,
switch
(
i_print_type
)
{
case
PRINT_XML
:
pf_print
(
opaque
,
"<MPEG2_AAC_AUDIO_DESC profile=
\"
0x%02x
\"
"
" channel_config=
\"
0x%02x
\"
additional_info=
\"
0x%02x
\"
"
,
" channel_config=
\"
0x%02x
\"
additional_info=
\"
0x%02x
\"
/>
"
,
desc2b_get_aac_profile
(
p_desc
),
desc2b_get_aac_channel_config
(
p_desc
),
desc2b_get_aac_additional_info
(
p_desc
)
...
...
mpeg/psi/desc_2c.h
View file @
f82c68f6
...
...
@@ -107,7 +107,7 @@ static inline void desc2c_print(const uint8_t *p_desc, f_print pf_print,
switch
(
i_print_type
)
{
case
PRINT_XML
:
pf_print
(
opaque
,
"<FLEXMUX_TIMING_DESC fcr_es_id=
\"
0x%04x
\"
"
" fcr_resolution=
\"
%u
\"
fcr_length=
\"
%u
\"
fmx_rate_length=
\"
%u
\"
"
,
" fcr_resolution=
\"
%u
\"
fcr_length=
\"
%u
\"
fmx_rate_length=
\"
%u
\"
/>
"
,
desc2c_get_fcr_es_id
(
p_desc
),
desc2c_get_fcr_resolution
(
p_desc
),
desc2c_get_fcr_length
(
p_desc
),
...
...
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