[x265] Encoder::encode(): don't return 0 while flushing.
Steve Borho
steve at borho.org
Tue Jun 17 08:35:24 CEST 2014
On Tue, Jun 17, 2014 at 12:47 AM, Satoshi Nakagawa <nakagawa424 at oki.com> wrote:
> # HG changeset patch
> # User Satoshi Nakagawa <nakagawa424 at oki.com>
> # Date 1402983802 -32400
> # Tue Jun 17 14:43:22 2014 +0900
> # Node ID cf222575f2032ff5824d58470d63561f79c3905e
> # Parent f25ed861850950d2bd31c51dbc9267333515af88
> Encoder::encode(): don't return 0 while flushing.
>
> diff -r f25ed8618509 -r cf222575f203 source/encoder/encoder.cpp
> --- a/source/encoder/encoder.cpp Mon Jun 16 20:32:13 2014 -0500
> +++ b/source/encoder/encoder.cpp Tue Jun 17 14:43:22 2014 +0900
> @@ -481,6 +481,11 @@
> curEncoder->m_enable.trigger();
> }
>
> + if (!ret && flush && fenc)
> + {
> + return encode(flush, NULL, pic_out, nalunits);
> + }
> +
what is this trying to fix? won't pic_out be wrong if we do this?
--
Steve
More information about the x265-devel
mailing list