[FFmpeg-devel] [PATCH 2/2] hwcontext_vaapi: Add an assert in vaapi_map_from_drm()

Xiang, Haihao haihao.xiang at intel.com
Fri May 11 03:39:18 EEST 2018


On Thu, 2018-05-10 at 20:04 +0100, Mark Thompson wrote:
> On 10/05/18 04:08, Haihao Xiang wrote:
> > The flag of input_available must be set when pic_start is not NULL, so
> > add an assert to ensure it is true. In addition, the assert on last_pic
> > is unnecessary now, so remove this assert.
> > 
> > Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
> > ---
> >  libavcodec/vaapi_encode.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> On 10/05/18 04:08, Haihao Xiang wrote:
> > Every fourcc in vaapi_drm_format_map should be in
> > vaapi_format_map, so add an assert to ensure we have the right maps.
> > 
> > Signed-off-by: Haihao Xiang <haihao.xiang at intel.com>
> > ---
> >  libavutil/hwcontext_vaapi.c | 2 ++
> >  1 file changed, 2 insertions(+)
> 
> Both applied.

Thanks for applying the patches.

Best Regards
Haihao

> 
> Thanks,
> 
> - Mark
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list