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
f0409d01
Commit
f0409d01
authored
Nov 03, 2011
by
Georgi Chorbadzhiyski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dvb_gen_si: Fix generation of descriptor 0x2c (FlexMuxTiming).
Fmx_rate_length field should not be bigger that 32.
parent
7d74b4aa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
examples/dvb_gen_si.c
examples/dvb_gen_si.c
+1
-1
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
+2
-2
No files found.
examples/dvb_gen_si.c
View file @
f0409d01
...
@@ -566,7 +566,7 @@ static void build_desc2c(uint8_t *desc) {
...
@@ -566,7 +566,7 @@ static void build_desc2c(uint8_t *desc) {
desc2c_set_fcr_es_id
(
desc
,
0x1234
);
desc2c_set_fcr_es_id
(
desc
,
0x1234
);
desc2c_set_fcr_resolution
(
desc
,
123456789
);
desc2c_set_fcr_resolution
(
desc
,
123456789
);
desc2c_set_fcr_length
(
desc
,
55
);
desc2c_set_fcr_length
(
desc
,
55
);
desc2c_set_fmx_rate_length
(
desc
,
66
);
desc2c_set_fmx_rate_length
(
desc
,
32
);
}
}
/* =========================================================================
/* =========================================================================
...
...
examples/dvb_print_si.output.txt
View file @
f0409d01
...
@@ -317,7 +317,7 @@ new PMT program=20000 version=1 pcrpid=110
...
@@ -317,7 +317,7 @@ new PMT program=20000 version=1 pcrpid=110
- flexmux_channel=0x99 buffer_size=11189196
- flexmux_channel=0x99 buffer_size=11189196
- desc 23 multiplex_buffer mb_buffer_size=112233 tb_leak_rate=445566
- desc 23 multiplex_buffer mb_buffer_size=112233 tb_leak_rate=445566
- desc 27 metadata_std input_leak_rate=12345 buffer_size=23456 output_leak_rate=34567
- desc 27 metadata_std input_leak_rate=12345 buffer_size=23456 output_leak_rate=34567
- desc 2c flexmux_timing fcr_es_id=0x1234 fcr_resolution=123456789 fcr_length=55 fmx_rate_length=
66
- desc 2c flexmux_timing fcr_es_id=0x1234 fcr_resolution=123456789 fcr_length=55 fmx_rate_length=
32
* ES pid=126 streamtype=0x1b streamtype_txt="H.264/14496-10 video (MPEG-4/AVC)"
* ES pid=126 streamtype=0x1b streamtype_txt="H.264/14496-10 video (MPEG-4/AVC)"
- desc 24 content_labeling metadata_application_format=0xabcd metadata_application_format_identifier=0x00000000 content_reference_id_record_flag=0 content_reference_id_record_length=0 content_reference_id_record="" content_time_base_indicator=0 content_time_base_value="0" metadata_time_base_value="0" content_id=0 time_base_association_data_length=0 time_base_association_data=""
- desc 24 content_labeling metadata_application_format=0xabcd metadata_application_format_identifier=0x00000000 content_reference_id_record_flag=0 content_reference_id_record_length=0 content_reference_id_record="" content_time_base_indicator=0 content_time_base_value="0" metadata_time_base_value="0" content_id=0 time_base_association_data_length=0 time_base_association_data=""
- desc 24 content_labeling metadata_application_format=0xfff0 metadata_application_format_identifier=0x00000000 content_reference_id_record_flag=0 content_reference_id_record_length=0 content_reference_id_record="" content_time_base_indicator=3 content_time_base_value="0" metadata_time_base_value="0" content_id=0 time_base_association_data_length=3 time_base_association_data="414243"
- desc 24 content_labeling metadata_application_format=0xfff0 metadata_application_format_identifier=0x00000000 content_reference_id_record_flag=0 content_reference_id_record_length=0 content_reference_id_record="" content_time_base_indicator=3 content_time_base_value="0" metadata_time_base_value="0" content_id=0 time_base_association_data_length=3 time_base_association_data="414243"
...
...
examples/dvb_print_si.output.xml
View file @
f0409d01
...
@@ -563,8 +563,8 @@
...
@@ -563,8 +563,8 @@
<DESC
id=
"0x27"
length=
"9"
value=
"c03039c05ba0c08707"
>
<DESC
id=
"0x27"
length=
"9"
value=
"c03039c05ba0c08707"
>
<METADATA_STD_DESC
input_leak_rate=
"12345"
buffer_size=
"23456"
output_leak_rate=
"34567"
/>
<METADATA_STD_DESC
input_leak_rate=
"12345"
buffer_size=
"23456"
output_leak_rate=
"34567"
/>
</DESC>
</DESC>
<DESC
id=
"0x2c"
length=
"8"
value=
"1234075bcd1537
42
"
>
<DESC
id=
"0x2c"
length=
"8"
value=
"1234075bcd1537
20
"
>
<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=
"
32
"
/>
</DESC>
</DESC>
</ES>
</ES>
<ES
pid=
"126"
streamtype=
"0x1b"
streamtype_txt=
"H.264/14496-10 video (MPEG-4/AVC)"
>
<ES
pid=
"126"
streamtype=
"0x1b"
streamtype_txt=
"H.264/14496-10 video (MPEG-4/AVC)"
>
...
...
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