[libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-04-04 Thread Zhong Li
Currently pict_type and key_frame are unset. Add an extra param to fetch the picture type from qsv decoder The judgement “key frame is equal to IDR frame” only suitable for H264. For HEVC, all IRAP frames are key frames, and other codecs have no IDR frame. Signed-off-by: ChaoX A Liu

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-01-29 Thread Maxym Dmytrychenko
LGTM as well, will take care of it this week. On Mon, Jan 29, 2018 at 9:20 AM, Luca Barbato wrote: > On 29/01/2018 08:31, Zhong Li wrote: > >> Currently key_frame and pict_type are unset. >> Add an extra param to fetch the picture type from qsv decoder >> >> Signed-off-by:

Re: [libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-01-29 Thread Luca Barbato
On 29/01/2018 08:31, Zhong Li wrote: Currently key_frame and pict_type are unset. Add an extra param to fetch the picture type from qsv decoder Signed-off-by: ChaoX A Liu Signed-off-by: Zhong Li --- libavcodec/qsv.c | 24

[libav-devel] [PATCH] lavc/qsvdec: expose frame pic_type and key_frame

2018-01-28 Thread Zhong Li
Currently key_frame and pict_type are unset. Add an extra param to fetch the picture type from qsv decoder Signed-off-by: ChaoX A Liu Signed-off-by: Zhong Li --- libavcodec/qsv.c | 24 libavcodec/qsv_internal.h | 3