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

2018-02-07 Thread Song, Ruiling
..@intel.com> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/vaapi: release buffer before destroy > context. > > > > 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 cle

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. > >

[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