PGS subtitles: Expose forced flag

Useful for detection of subtitles displayed during foreign language
scenes.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
John Stebbins
2012-10-20 09:56:11 -07:00
committed by Diego Biurrun
parent 26f01bd106
commit 85f67c4865
3 changed files with 12 additions and 4 deletions

View File

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