[vlc-commits] Made subtitle subpicture absolute only when rendering succeed.
Laurent Aimar
git at videolan.org
Sat Feb 12 20:05:46 CET 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Feb 12 19:33:44 2011 +0100| [92d7c04665c1da030521dfdda7f9e51146556689] | committer: Laurent Aimar
Made subtitle subpicture absolute only when rendering succeed.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=92d7c04665c1da030521dfdda7f9e51146556689
---
src/video_output/vout_subpictures.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/video_output/vout_subpictures.c b/src/video_output/vout_subpictures.c
index f1295f0..7351c08 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;
}
More information about the vlc-commits
mailing list