Add a proper color check to the overlap compositing.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28875 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
668810ab04
commit
eb3f82bfee
1 file changed
+3
@@ -434,6 +434,9 @@ static void render_overlap(ass_image_t** last_tail, ass_image_t** tail, bitmap_h
|
||||
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;
|
||||
|
||||
Reference in new issue
Block a user