1 @TEMPLATE encoder_tmpl.c
2 Error Resiliency Features
3 =========================
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
5 This is an example demonstrating how to enable the error resiliency
7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION
12 Error resiliency is controlled by the g_error_resilient member of the
13 configuration structure.
14 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_SET_CFG2
16 /* Enable error resilient mode */
17 cfg.g_error_resilient = 1;
18 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_SET_CFG2
23 Use the `decode_with_drops` example to decode with frames 5-10 dropped.
24 Compare the output for a file encoded with this example versus one
25 encoded with the `simple_encoder` example.