diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-01-08 15:59:41 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-01-12 09:23:38 +0100 |
commit | 9d36cab4c0dc5089c023661aef9aeb8b009048fd (patch) | |
tree | 6a41c5d736ccb57cf9ebd388b9a0843f800bd7df /libavcodec/x86 | |
parent | aac7d6b284c3976eb0c48d61f342f008fb6e4103 (diff) | |
download | ffmpeg-9d36cab4c0dc5089c023661aef9aeb8b009048fd.tar.gz |
nvenc: fix encoding with B-frames
When B-frames are enabled and the encoder returns success, all currently
pending buffers immediately become valid and can be returned to the
caller. We can only return one packet at a time, so all the other
pending buffers should be transferred to a new 'ready' fifo, from where
they can be returned in subsequent calls (in which the encoder does not
produce any new output). This bug was hidden by the incorrect testing of
the encoder return value (the return value was overwritten before it was
tested).
Diffstat (limited to 'libavcodec/x86')
0 files changed, 0 insertions, 0 deletions