Compare commits

...
2 Commits
Author SHA1 Message Date
wm4 7fe9126bba Release 0.8.2 2015-02-26 19:13:34 +01:00
wm4 22863d6a79 Revert "osd: force alignment for OSD bar"
This reverts commit ff10bd65d6.

Fixes #1631.
2015-02-26 19:11:42 +01:00
3 changed files with 10 additions and 3 deletions

No files matched your search

+8
View File
@@ -1,3 +1,11 @@
Release 0.8.2
=============
Bug fixes
---------
- Fix OSD placement accidentally messed up in 0.8.1.
Release 0.8.1
=============
+1 -1
View File
@@ -1 +1 @@
0.8.1
0.8.2
+1 -2
View File
@@ -111,6 +111,7 @@ static void create_ass_track(struct osd_state *osd, struct osd_object *obj,
int sid = ass_alloc_style(track);
track->default_style = sid;
ASS_Style *style = track->styles + sid;
style->Alignment = 5; // top-title, left
style->Name = strdup("OSD");
// Set to neutral base direction, as opposed to VSFilter LTR default
style->Encoding = -1;
@@ -316,8 +317,6 @@ static void get_osd_bar_box(struct osd_state *osd, struct osd_object *obj,
// Rendering with shadow is broken (because there's more than one shape)
style->Shadow = 0;
style->Alignment = 5;
*o_border = style->Outline;
*o_x = get_align(opts->osd_bar_align_x, track->PlayResX, *o_w, *o_border);