On Sun, 18 Oct 2015 12:09:48 +0200
Michael Niedermayer wrote:
> On Fri, Oct 16, 2015 at 10:42:33AM +0200, Alexis Ballier wrote:
> > When the encoder is fed with less frames than its delay, the
> > picture list looks like { NULL, NULL, ..., frame, frame, frame }.
> > When
On Fri, Oct 16, 2015 at 10:42:33AM +0200, Alexis Ballier wrote:
> When the encoder is fed with less frames than its delay, the picture list
> looks like { NULL, NULL, ..., frame, frame, frame }. When flushing the
> encoder (input frame == NULL), we need to ensure the picture list is shifted
>
When the encoder is fed with less frames than its delay, the picture list looks
like { NULL, NULL, ..., frame, frame, frame }. When flushing the encoder (input
frame == NULL), we need to ensure the picture list is shifted enough so that we
do not return an empty packet, which would mean the