diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-03 17:13:45 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-03 17:13:45 +0400 |
commit | 1885ffb03d0af28e6bac2bcc8725fa15b93f6ac9 (patch) | |
tree | 192b6341b447e51b2121dc17509ce852fa36405b /libavcodec/avcodec.h | |
parent | b91fa5fcca70bdf188b757084edd444d4d8530c9 (diff) | |
parent | 9a07c1332cfe092b57b5758f22b686ca58806c60 (diff) |
Merge commit '9a07c1332cfe092b57b5758f22b686ca58806c60'
* commit '9a07c1332cfe092b57b5758f22b686ca58806c60':
parser: Move Doxygen documentation to the header files
PGS subtitles: Expose forced flag
x86: PMINUB: port to cpuflags
Conflicts:
libavcodec/avcodec.h
libavcodec/pgssubdec.c
libavcodec/version.h
libavcodec/x86/ac3dsp.asm
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a80612798e..fe83fef5de 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3389,6 +3389,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 @@ -3412,11 +3414,7 @@ typedef struct AVSubtitleRect { */ char *ass; - /** - * 1 indicates this subtitle is a forced subtitle. - * A forced subtitle should be displayed even when subtitles are hidden. - */ - int forced; + int flags; } AVSubtitleRect; typedef struct AVSubtitle { @@ -4213,6 +4211,10 @@ int av_parser_parse2(AVCodecParserContext *s, int64_t pts, int64_t dts, int64_t pos); +/** + * @return 0 if the output buffer is a subset of the input, 1 if it is allocated and must be freed + * @deprecated use AVBitstreamFilter + */ int av_parser_change(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, |