[MPlayer-cvslog] r28875 - trunk/libass/ass_render.c
greg
subversion at mplayerhq.hu
Sun Mar 8 05:03:25 CET 2009
Author: greg
Date: Sun Mar 8 05:03:24 2009
New Revision: 28875
Log:
Add a proper color check to the overlap compositing.
Modified:
trunk/libass/ass_render.c
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c Sun Mar 8 03:53:14 2009 (r28874)
+++ trunk/libass/ass_render.c Sun Mar 8 05:03:24 2009 (r28875)
@@ -434,6 +434,9 @@ static void render_overlap(ass_image_t**
if ((*last_tail)->bitmap == (*tail)->bitmap)
return;
+ if ((*last_tail)->color != (*tail)->color)
+ return;
+
// Calculate overlap coordinates
left = (ax > bx) ? ax : bx;
top = (ay > by) ? ay : by;
More information about the MPlayer-cvslog
mailing list