1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Add type, text and ass to AVSubtitleRect.

Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2009-01-03 19:20:50 +00:00
parent 25b4c651a3
commit f656106f76

View File

@ -2405,6 +2405,16 @@ typedef struct AVSubtitleRect {
* can be set for text/ass as well once they where rendered
*/
AVPicture pict;
enum AVSubtitleType type;
char *text; ///< 0 terminated plain UTF-8 text
/**
* 0 terminated ASS/SSA compatible event line.
* The pressentation of this is unaffected by the other values in this
* struct.
*/
char *ass;
} AVSubtitleRect;
typedef struct AVSubtitle {