Commit 90032a33 authored by Laurent Aimar's avatar Laurent Aimar

Fixed i_original_picture_width/height fields of the subpicture returned by spu_Render().

parent 67168973
...@@ -1064,6 +1064,8 @@ static subpicture_t *SpuRenderSubpictures( spu_t *p_spu, ...@@ -1064,6 +1064,8 @@ static subpicture_t *SpuRenderSubpictures( spu_t *p_spu,
subpicture_t *p_output = subpicture_New( NULL ); subpicture_t *p_output = subpicture_New( NULL );
if( !p_output ) if( !p_output )
return NULL; return NULL;
p_output->i_original_picture_width = p_fmt_dst->i_width;
p_output->i_original_picture_height = p_fmt_dst->i_height;
subpicture_region_t **pp_output_last = &p_output->p_region; subpicture_region_t **pp_output_last = &p_output->p_region;
/* Allocate area array for subtitle overlap */ /* Allocate area array for subtitle overlap */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment