Mercurial > libavcodec.hg
changeset 8511:531ddfe8a832 libavcodec
Add enum AVSubtitleType
author | michael |
---|---|
date | Sat, 03 Jan 2009 15:15:03 +0000 |
parents | cea216e44ee3 |
children | aa45029f5cd7 |
files | avcodec.h |
diffstat | 1 files changed, 18 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avcodec.h Sat Jan 03 00:46:17 2009 +0000 +++ b/avcodec.h Sat Jan 03 15:15:03 2009 +0000 @@ -2375,6 +2375,24 @@ } 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;