gif: add loop private option.