[FFmpeg-devel] [PATCH 2/2] hwcontext_vaapi: Add an assert in vaapi_map_from_drm()
Mark Thompson
sw at jkqxz.net
Thu May 10 22:04:50 EEST 2018
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,
- Mark
More information about the ffmpeg-devel
mailing list