[FFmpeg-devel] [PATCH 3/4] avcodec/avcodec: Don't reset decoder-fields for encoders when flushing
Anton Khirnov
anton at khirnov.net
Wed Apr 13 19:01:08 EEST 2022
Quoting Andreas Rheinhardt (2022-04-13 17:58:08)
> Anton Khirnov:
> > Quoting Andreas Rheinhardt (2022-04-13 16:49:51)
> >> -
> >> - avctx->pts_correction_last_pts =
> >> - avctx->pts_correction_last_dts = INT64_MIN;
> >> -
> >> - if (avci->bsf)
> >
> > did you drop this check on purpose?
> >
>
> Yes. We currently open bsfs for all decoders (even if it is a null-bsf).
Then patch lgtm
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list