1 @TEMPLATE encoder_tmpl.c 2 Error Resiliency Features 3 ========================= 4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION 5 This is an example demonstrating how to enable the error resiliency 6 features of the codec. 7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ INTRODUCTION 8 9 10 Configuration 11 ------------- 12 Error resiliency is controlled by the g_error_resilient member of the 13 configuration structure. 14 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_SET_CFG2 15 16 /* Enable error resilient mode */ 17 cfg.g_error_resilient = 1; 18 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_SET_CFG2 19 20 21 Observing The Effects 22 --------------------- 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. 26