Commit bb9b728b authored by Daniel Kamil Kozar's avatar Daniel Kamil Kozar Committed by Jean-Paul Saman

add tests for the STD descriptor

Signed-off-by: default avatarJean-Paul Saman <jpsaman@videolan.org>
parent c2e3f3fa
......@@ -111,6 +111,10 @@
<integer name="i_sb_leak_rate" bitcount="22" default="0" />
<integer name="i_sb_size" bitcount="22" default="0" />
</descriptor>
<descriptor name="STD" sname="std" fname="STD" gen_args="1">
<boolean name="b_leak_valid_flag" default="0" />
</descriptor>
<!--
<descriptor name="stuffing" sname="stuffing" fname="Stuffing">
<insert>
......
......@@ -694,6 +694,30 @@ static int main_smoothing_buffer_(void)
return i_err;
}
/* STD */
static int main_std_(void)
{
BOZO_VARS(std);
BOZO_START(STD);
#define dvbpsi_GenSTDDr(x,y) \
dvbpsi_GenSTDDr(x)
/* check b_leak_valid_flag */
BOZO_init_boolean(b_leak_valid_flag, 0);
BOZO_begin_boolean(b_leak_valid_flag)
BOZO_DOJOB(STD);
BOZO_check_boolean(b_leak_valid_flag)
BOZO_CLEAN();
BOZO_end_boolean(b_leak_valid_flag)
BOZO_END(STD);
return i_err;
}
/* service */
static int main_service_(void)
{
......@@ -740,6 +764,7 @@ int main(void)
i_err |= main_max_bitrate_();
i_err |= main_private_data_();
i_err |= main_smoothing_buffer_();
i_err |= main_std_();
i_err |= main_service_();
if(i_err)
......
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