Encoder exits if video decode fails