changeset 28840:7d0ea9013974

Add a proper color check to the overlap compositing.
author greg
date Sun, 08 Mar 2009 04:03:24 +0000
parents fda4cf558544
children 56d8b860a41b
files libass/ass_render.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_render.c	Sun Mar 08 02:53:14 2009 +0000
+++ b/libass/ass_render.c	Sun Mar 08 04:03:24 2009 +0000
@@ -434,6 +434,9 @@
 	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;