[x265] [PATCH] slicetype: fix hanging issue due to dropping of BREF frames

Ashok Kumar Mishra ashok at multicorewareinc.com
Thu Feb 1 14:40:31 CET 2018


On Thu, Feb 1, 2018 at 5:38 PM, <aruna at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Aruna Matheswaran <aruna at multicorewareinc.com>
> # Date 1517404033 -19800
> #      Wed Jan 31 18:37:13 2018 +0530
> # Branch stable
> # Node ID e793f0e12e2c6c8473ce738d241c66be126d6919
> # Parent  68b17aa887aa9daaa6dcb62161ab29f52b7dfe70
> slicetype: fix hanging issue due to dropping of BREF frames
>
> While forcing slicetypes through qp file, few BREF frames were not copied
> into
> lookahead's output queue due to incorrect check condition.
>
> diff -r 68b17aa887aa -r e793f0e12e2c source/encoder/slicetype.cpp
> --- a/source/encoder/slicetype.cpp      Sat Jan 27 18:45:21 2018 +0530
> +++ b/source/encoder/slicetype.cpp      Wed Jan 31 18:37:13 2018 +0530
> @@ -1204,7 +1204,7 @@
>      m_outputQueue.pushBack(*list[bframes]);
>
>      /* Add B-ref frame next to P frame in output queue, the B-ref encode
> before non B-ref frame */
> -    if (bframes > 1 && m_param->bBPyramid)
> +    if (brefs)
>      {
>          for (int i = 0; i < bframes; i++)
>          {
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
Thanks. Pushed to default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180201/23760684/attachment.html>


More information about the x265-devel mailing list