changeset 8517:7e6cf3ff61d3 libavcodec

Add type, text and ass to AVSubtitleRect.
author michael
date Sat, 03 Jan 2009 19:20:50 +0000
parents 315b302fcd1d
children f2c406b05158
files avcodec.h
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 {