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 | a0f422546d2902029303bba64ece315a2cdf6a2b (patch) | |
tree | 0705dbec40f08fade53c04c74faf2077aba16785 /libass/ass.h | |
parent | d8dab41707cf529256838cce4a39f504f9dab25d (diff) | |
download | mpv-a0f422546d2902029303bba64ece315a2cdf6a2b.tar.bz2 mpv-a0f422546d2902029303bba64ece315a2cdf6a2b.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 493ba2f379..e97b0f6d6c 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; |