[FFmpeg-devel] [PATCH 1/4 v2] ffmpeg: flush delayed frames in codec copy scenarios
James Almer
jamrial at gmail.com
Mon Feb 28 14:30:19 EET 2022
On 2/23/2022 12:03 PM, James Almer wrote:
> Bitstream filters inserted between the input and output were
> never drained, resulting packets being lost if the bsf had any
> buffered.
>
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> Now also flushing packets when forcing a record duration.
>
> fftools/ffmpeg.c | 13 ++++++++-----
> fftools/ffmpeg.h | 1 +
> fftools/ffmpeg_filter.c | 1 +
> fftools/ffmpeg_opt.c | 4 ++++
> 4 files changed, 14 insertions(+), 5 deletions(-)
Will apply.
More information about the ffmpeg-devel
mailing list