On Wed, Jul 14, 2021 at 11:33:59AM -0300, James Almer wrote: > It will be used to allow parsers to be more liberal when tagging packets as > keyframes. > > Signed-off-by: James Almer <jamr...@gmail.com> > --- > libavcodec/avcodec.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 8b97895aeb..8e3d888266 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -2809,6 +2809,7 @@ typedef struct AVCodecParserContext { > #define PARSER_FLAG_ONCE 0x0002 > /// Set if the parser has a valid file offset > #define PARSER_FLAG_FETCHED_OFFSET 0x0004 > +#define PARSER_FLAG_USE_KEYFRAME_HEURISTICS 0x0008 > #define PARSER_FLAG_USE_CODEC_TS 0x1000
This doesnt "feel" like the best solution to me dont you think it would be better to export all information ? the concept of a keyframe is a point at which decoding can begin that really are at least 3 points the point at which packets begin to be input into the decoder the point at which the decoder is able to return some decoded data which closely resembles the encoder input and the point at which the decoder output matches 1:1 the output of a decoder starting from frame 0 Thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Never trust a computer, one day, it may think you are the virus. -- Compn
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".