This i_order can be used by vout display modules to easily compare subpictures.
That way, a module can bypass a subpicture rendering if it has been previously
rendered.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
subpicture_t *output = subpicture_New(NULL);
if (!output)
return NULL;
+ output->i_order = pp_subpicture[i_subpicture - 1]->i_order;
output->i_original_picture_width = fmt_dst->i_visible_width;
output->i_original_picture_height = fmt_dst->i_visible_height;
subpicture_region_t **output_last_ptr = &output->p_region;