Re: [FFmpeg-devel] [PATCH] lavc/vaapi: release buffer before destroy context.

2018-02-07 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Jun Zhao > Sent: Thursday, February 8, 2018 11:08 AM > To: FFmpeg development discussions and patches ; > Song, Ruiling > Subject: Re: [FFmpeg-devel] [PATCH] lavc/

Re: [FFmpeg-devel] [PATCH] lavc/vaapi: release buffer before destroy context.

2018-02-07 Thread Jun Zhao
On 2018/2/8 9:35, Ruiling Song wrote: > The common way to use libVA was first destroy the buffer, then the > context. I am not sure whether libVA has clear statement on this. > This patch just make things simple. This would fix an segmentation > fault issue against iHD open source driver. > > Sig

[FFmpeg-devel] [PATCH] lavc/vaapi: release buffer before destroy context.

2018-02-07 Thread Ruiling Song
The common way to use libVA was first destroy the buffer, then the context. I am not sure whether libVA has clear statement on this. This patch just make things simple. This would fix an segmentation fault issue against iHD open source driver. Signed-off-by: Ruiling Song --- libavcodec/vaapi_enc