[MPlayer-cvslog] r28748 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Sat Feb 28 00:06:34 CET 2009
Author: eugeni
Date: Sat Feb 28 00:06:34 2009
New Revision: 28748
Log:
Allow shadow without border.
Patch by Grigori G (greg chown ath cx).
Modified:
trunk/libass/ass_render.c
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c Fri Feb 27 23:23:20 2009 (r28747)
+++ trunk/libass/ass_render.c Sat Feb 28 00:06:34 2009 (r28748)
@@ -581,12 +581,9 @@ static void change_border(double border)
if (!render_context.font) return;
if (border < 0) {
- if (render_context.style->BorderStyle == 1) {
- if (render_context.style->Outline == 0 && render_context.style->Shadow > 0)
- border = 1.;
- else
- border = render_context.style->Outline;
- } else
+ if (render_context.style->BorderStyle == 1)
+ border = render_context.style->Outline;
+ else
border = 1.;
}
render_context.border = border;
More information about the MPlayer-cvslog
mailing list