From f656106f762c63d393300a6be7dfae16c0dfbcc1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 3 Jan 2009 19:20:50 +0000 Subject: [PATCH] Add type, text and ass to AVSubtitleRect. Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 04c1769..9c3e710 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -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 { -- 2.7.4