[x265] Encoder::encode(): don't return 0 while flushing.
Steve Borho
steve at borho.org
Tue Jun 17 17:55:37 CEST 2014
On Tue, Jun 17, 2014 at 7:06 AM, Derek Buitenhuis
<derek.buitenhuis at gmail.com> wrote:
> On 6/17/2014 8:03 AM, Satoshi Nakagawa wrote:
>> using ffmpeg, when input sequence is shorter than lookahead, empty stream is
>> encoded.
>
> Should be fixed on my (FFmpeg's) end, using something akin to what
> libx264 does:
>
> https://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/libx264.c;h=5d1e203a7fed11fd8160e31eec04a2e152117a5e;hb=HEAD#l265
If we do require a fix like the original patch in x265, I would prefer
to do it a layer up in the call-stack to avoid making encode()
recursive.
--
Steve Borho
More information about the x265-devel
mailing list