lavc: Adding seek_preroll to AVCodecContext
seek_preroll field is added to the AVCodecContext struct. It indicates the number of samples to be discarded whenever there is a discontinuity. The minor version is bumped accordingly. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f7ed044eea
commit
0f99aad80f
3 changed files with 12 additions and 1 deletions
|
@ -1044,6 +1044,7 @@ void avcodec_free_frame(AVFrame **frame)
|
|||
MAKE_ACCESSORS(AVCodecContext, codec, AVRational, pkt_timebase)
|
||||
MAKE_ACCESSORS(AVCodecContext, codec, const AVCodecDescriptor *, codec_descriptor)
|
||||
MAKE_ACCESSORS(AVCodecContext, codec, int, lowres)
|
||||
MAKE_ACCESSORS(AVCodecContext, codec, int, seek_preroll)
|
||||
|
||||
int av_codec_get_max_lowres(const AVCodec *codec)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue