diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-26 18:24:37 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-26 18:24:37 +0000 |
commit | cfdd0e925e8111496b57832c1d71ad7b0ea5dcb7 (patch) | |
tree | 05e7d41bf200d2e67e5d96f814dfc942afac678c /libass/ass.h | |
parent | b4e7896b7db939c4890d820f0b41c847ca3a9b20 (diff) | |
download | libass-cfdd0e925e8111496b57832c1d71ad7b0ea5dcb7.tar.bz2 libass-cfdd0e925e8111496b57832c1d71ad7b0ea5dcb7.tar.xz |
Add right and left margins support to libass.
Add ability to not use margins even when they are available.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19544 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass/ass.h')
-rw-r--r-- | libass/ass.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libass/ass.h b/libass/ass.h index 493ba2f..e97b0f6 100644 --- a/libass/ass.h +++ b/libass/ass.h @@ -14,6 +14,10 @@ typedef struct ass_settings_s { double line_spacing; // additional line spacing (in frame pixels) int top_margin; // height of top margin. Everything except toptitles is shifted down by top_margin. int bottom_margin; // height of bottom margin. (frame_height - top_margin - bottom_margin) is original video height. + int left_margin; + int right_margin; + int use_margins; // 0 - place all subtitles inside original frame + // 1 - use margins for placing toptitles and subtitles double aspect; // frame aspect ratio, d_width / d_height. } ass_settings_t; |