From a2220dbb7a78ce50b11fe5db02cd2cde0f9d3cfd Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 23 Oct 2005 14:25:56 +0000 Subject: [PATCH] The conditions for bottom (2) and top (1) subtitle alignment are reversed. patch by Paul TT < paultt == at -- hackerjournal == dot -- it > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16835 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvo/sub.c b/libvo/sub.c index c627812167..e7d916c2b4 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -627,7 +627,7 @@ inline static void vo_update_text_sub(mp_osd_obj_t* obj,int dxs,int dys){ } /// vertical alignment h = dys - obj->y; - if (sub_alignment == 2) + if (sub_alignment == 0) obj->y = dys * sub_pos / 100 - h; else if (sub_alignment == 1) obj->y = dys * sub_pos / 100 - h / 2;