mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
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>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user