From 92d7c04665c1da030521dfdda7f9e51146556689 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 12 Feb 2011 19:33:44 +0100 Subject: [PATCH] Made subtitle subpicture absolute only when rendering succeed. --- src/video_output/vout_subpictures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c index f1295f0e81..7351c08289 100644 --- a/src/video_output/vout_subpictures.c +++ b/src/video_output/vout_subpictures.c @@ -1172,7 +1172,7 @@ static subpicture_t *SpuRenderSubpictures( spu_t *p_spu, p_subtitle_area[i_subtitle_area++] = area; } } - if( p_subpic->b_subtitle ) + if( p_subpic->b_subtitle && p_subpic->p_region ) p_subpic->b_absolute = true; } -- 2.11.4.GIT