Add type, text and ass to AVSubtitleRect.

Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 16 years ago
parent 25b4c651a3
commit f656106f76
  1. 10
      libavcodec/avcodec.h

@ -2405,6 +2405,16 @@ typedef struct AVSubtitleRect {
* can be set for text/ass as well once they where rendered * can be set for text/ass as well once they where rendered
*/ */
AVPicture pict; 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; } AVSubtitleRect;
typedef struct AVSubtitle { typedef struct AVSubtitle {

Loading…
Cancel
Save