On 08/01/16 18:01, Anton Khirnov wrote: > 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). > --- > libavcodec/nvenc.c | 23 +++++++++++++++-------- > 1 file changed, 15 insertions(+), 8 deletions(-) >
Probably Ok. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
