Browse Source

Add type, text and ass to AVSubtitleRect.

Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
f656106f76
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      libavcodec/avcodec.h

+ 10
- 0
libavcodec/avcodec.h 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 {


Loading…
Cancel
Save