# HG changeset patch # User michael # Date 1231010450 0 # Node ID 7e6cf3ff61d3adb93895abd9443bbc0944ac6ade # Parent 315b302fcd1d71d2f988db125395c159d563126c Add type, text and ass to AVSubtitleRect. diff -r 315b302fcd1d -r 7e6cf3ff61d3 avcodec.h --- a/avcodec.h Sat Jan 03 19:17:18 2009 +0000 +++ b/avcodec.h Sat Jan 03 19:20:50 2009 +0000 @@ -2405,6 +2405,16 @@ * 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 {