Commit f0409d01 authored by Georgi Chorbadzhiyski's avatar Georgi Chorbadzhiyski

dvb_gen_si: Fix generation of descriptor 0x2c (FlexMuxTiming).

Fmx_rate_length field should not be bigger that 32.
parent 7d74b4aa
...@@ -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);
} }
/* ========================================================================= /* =========================================================================
......
...@@ -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"
......
...@@ -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="1234075bcd153742"> <DESC id="0x2c" length="8" value="1234075bcd153720">
<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)">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment