[FFmpeg-cvslog] r16410 - trunk/libavcodec/avcodec.h
michael
subversion
Sat Jan 3 16:15:04 CET 2009
Author: michael
Date: Sat Jan 3 16:15:03 2009
New Revision: 16410
Log:
Add enum AVSubtitleType
Modified:
trunk/libavcodec/avcodec.h
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h Sat Jan 3 01:46:17 2009 (r16409)
+++ trunk/libavcodec/avcodec.h Sat Jan 3 16:15:03 2009 (r16410)
@@ -2375,6 +2375,24 @@ typedef struct AVPaletteControl {
} AVPaletteControl attribute_deprecated;
+enum AVSubtitleType {
+ SUBTITLE_NONE,
+
+ SUBTITLE_BITMAP, ///< A bitmap, pict will be set
+
+ /**
+ * Plain text, the text field must be set by the decoder and is
+ * authoritative. ass and pict fields may contain approximations.
+ */
+ SUBTITLE_TEXT,
+
+ /**
+ * Formatted text, the ass field must be set by the decoder and is
+ * authoritative. pict and text fields may contain approximations.
+ */
+ SUBTITLE_ASS,
+};
+
typedef struct AVSubtitleRect {
uint16_t x;
uint16_t y;
More information about the ffmpeg-cvslog
mailing list