diff options
author | Jan Ekström <jeebjp@gmail.com> | 2021-05-06 23:31:44 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2021-05-13 17:59:35 +0300 |
commit | ec20b8130269260f3ae1e4642da26ba556814f84 (patch) | |
tree | 8cf819f43729c0a3e8367eafd869447a75480717 /compat | |
parent | c122a6c10dedc05933a8b11a3b82f18afc8ca5b7 (diff) | |
download | ffmpeg-ec20b8130269260f3ae1e4642da26ba556814f84.tar.gz |
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 67be1ce0c6de330b1c10d1d121819d8a74a7b1f5 . 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
Diffstat (limited to 'compat')
0 files changed, 0 insertions, 0 deletions