mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-04 21:25:40 +01:00
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:
committed by
Diego Biurrun
parent
26f01bd106
commit
85f67c4865
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user