diff options
author | John Stebbins <jstebbins.hb@gmail.com> | 2012-10-20 09:56:11 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-11-02 16:13:35 +0100 |
commit | 85f67c4865d8014ded2aaa64b3cba6e2970342d7 (patch) | |
tree | 58d705b05fbb64214147173afb4dda35f3426816 /libavcodec/avcodec.h | |
parent | 26f01bd106f62ffe501a9baf609c476051d919da (diff) | |
download | ffmpeg-85f67c4865d8014ded2aaa64b3cba6e2970342d7.tar.gz |
PGS subtitles: Expose forced flag
Useful for detection of subtitles displayed during foreign language
scenes.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 73321b2040..43f7c87b23 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3166,6 +3166,8 @@ enum AVSubtitleType { SUBTITLE_ASS, }; +#define AV_SUBTITLE_FLAG_FORCED 0x00000001 + typedef struct AVSubtitleRect { int x; ///< top left corner of pict, undefined when pict is not set int y; ///< top left corner of pict, undefined when pict is not set @@ -3188,6 +3190,7 @@ typedef struct AVSubtitleRect { * struct. */ char *ass; + int flags; } AVSubtitleRect; typedef struct AVSubtitle { |