Merge "Transcoder: Detect input/output frame count mismatch due to codec error"