Merge "simple_encoder: Add a frame limit argument."