Skip to content
Snippets Groups Projects
Commit 2cb6980d authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vout_subpictures: check the cache positioning of subtitles worked

parent 88fc7594
Branches master
No related tags found
No related merge requests found
......@@ -1489,6 +1489,12 @@ static vlc_render_subpicture *SpuRenderSubpictures(spu_t *spu,
output_last_ptr->place.y += video_position->y;
}
if (cache_pos != NULL)
{
assert(output_last_ptr->place.x == cache_pos->x);
assert(output_last_ptr->place.y == cache_pos->y);
}
vlc_vector_push(&output->regions, output_last_ptr);
if (subpic->b_subtitle && !subpic->b_absolute) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment