Browse Source

Add enum AVSubtitleType

Originally committed as revision 16410 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
c66216ed5d
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      libavcodec/avcodec.h

+ 18
- 0
libavcodec/avcodec.h View File

@@ -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;


Loading…
Cancel
Save