diff options
author | hakuya <erikmiranda@gmail.com> | 2012-04-15 21:58:40 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-30 19:48:21 +0200 |
commit | 79e5902cf163dcb8b6539618936ff0ce28f742e4 (patch) | |
tree | be00c4d77d86f5106cd802e72eb0bd59d5f23302 /libavcodec/avcodec.h | |
parent | 1f46b50a9591f68b697e943f829c79a4f4829dd6 (diff) | |
download | ffmpeg-79e5902cf163dcb8b6539618936ff0ce28f742e4.tar.gz |
Exposing forced flag for DVD and PGS subtitles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f8700dd767..657e5b7a31 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3158,6 +3158,12 @@ typedef struct AVSubtitleRect { * struct. */ char *ass; + + /** + * 1 indicates this subtitle is a forced subtitle. + * A forced subtitle should be displayed even when subtitles are hidden. + */ + int forced; } AVSubtitleRect; typedef struct AVSubtitle { |