Re: [libav-devel] [PATCH 1/2] vaapi_encode: Destroy output buffer pool before VA context

2017-12-17 Thread Jun Zhao
On 2017/12/18 4:00, Mark Thompson wrote: > The buffers are created associated with the context, so they should be > destroyed before the context is. This is enforced by the iHD driver. > --- > (Causes a crash on close.) > > > libavcodec/vaapi_encode.c | 4 ++-- > 1 file changed, 2

[libav-devel] [PATCH 1/2] vaapi_encode: Destroy output buffer pool before VA context

2017-12-17 Thread Mark Thompson
The buffers are created associated with the context, so they should be destroyed before the context is. This is enforced by the iHD driver. --- (Causes a crash on close.) libavcodec/vaapi_encode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vaapi_encode.c