]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add type, text and ass to AVSubtitleRect.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 3 Jan 2009 19:20:50 +0000 (19:20 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 3 Jan 2009 19:20:50 +0000 (19:20 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16417 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/avcodec.h

index 04c17698dc70fb890330d1b3c4ff1381a53b4d1d..9c3e7105c61c5d3a45e220f5b47da2182f237666 100644 (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 {