FFmpeg/fftools
Jan Ekström ec20b81302 ffmpeg: return no chosen output if an uninitialized stream is unavailable
Otherwise the rate emulation logic in `transcode_step` never gets
hit, and the unavailability flag never gets reset, leading to an
eternal loop with some rate emulation use cases.

This change was missed during the rework of ffmpeg.c, in which
encoder initialization was moved further down the time line in
commit 67be1ce0c6 . Previously,
as the encoder initialization had happened earlier, this state was
not possible (flow getting as far as hitting the rate emulation logic,
yet not having the encoder initialized yet).

Fixes #9160
2021-05-13 17:59:35 +03:00
..
cmdutils.c
cmdutils.h
ffmpeg_filter.c
ffmpeg_hw.c
ffmpeg_opt.c ffmpeg: stop accessing private AVStream.codec_info_nb_frames 2021-05-02 00:44:19 -03:00
ffmpeg_qsv.c
ffmpeg_videotoolbox.c
ffmpeg.c ffmpeg: return no chosen output if an uninitialized stream is unavailable 2021-05-13 17:59:35 +03:00
ffmpeg.h
ffplay.c
ffprobe.c ffprobe: support printing more packet side data types 2021-05-09 10:59:21 +02:00
Makefile