projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b4c65
)
Add type, text and ass to AVSubtitleRect.
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 3 Jan 2009 19:20:50 +0000
(19:20 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 3 Jan 2009 19:20:50 +0000
(19:20 +0000)
Originally committed as revision 16417 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
patch
|
blob
|
history
diff --git
a/libavcodec/avcodec.h
b/libavcodec/avcodec.h
index
04c1769
..
9c3e710
100644
(file)
--- 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 {