[FFmpeg-cvslog] r16417 - trunk/libavcodec/avcodec.h

michael subversion
Sat Jan 3 20:20:50 CET 2009


Author: michael
Date: Sat Jan  3 20:20:50 2009
New Revision: 16417

Log:
Add type, text and ass to AVSubtitleRect.

Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	Sat Jan  3 20:17:18 2009	(r16416)
+++ trunk/libavcodec/avcodec.h	Sat Jan  3 20:20:50 2009	(r16417)
@@ -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 {




More information about the ffmpeg-cvslog mailing list