osd: customizable subtitle and OSD position

You can set in which "corner" the OSD and subtitles are shown. I'd
prefer it a bit more general (so you could set the alignment using
a factor), but the libass API does not provide this.
This commit is contained in:
wm4
2015-02-16 20:04:02 +01:00
parent 4c283d5f8d
commit 14a24f35bf
4 changed files with 22 additions and 0 deletions

View File

@@ -133,6 +133,8 @@ struct osd_style_opts {
float spacing;
int margin_x;
int margin_y;
int align_x;
int align_y;
float blur;
};