]> git.sesse.net Git - ffmpeg/commit
movtextdec: Add support for automatic text wrapping
authorNiklesh <niklesh.lalwani@iitb.ac.in>
Fri, 14 Aug 2015 14:49:51 +0000 (20:19 +0530)
committerPhilip Langdale <philipl@overt.org>
Sat, 15 Aug 2015 02:35:26 +0000 (19:35 -0700)
commita604289b85709850cb5ef2fe1567456fb6825ce2
tree0eaac556cc8f3765ca8af48d740621fc370b6ce0
parentc84d208c275d6a43b3c3421d38772179abf8acee
movtextdec: Add support for automatic text wrapping

The value of wrap_flag in the Text Wrap Box specifies if the text is to
be wrapped or not. Uses 'end of line wrap' amongst the wrap styles
supported by ASS if the text is to be wrapped, i.e; fill as much text
in a line as possible, then break to next line.

The 3GPP spec has no provision for smart wrapping.

Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
libavcodec/movtextdec.c