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

Li, Zhong zhong.li at intel.com
Wed Mar 28 10:57:08 CEST 2018

Resend it since forgot to remove AV_PICTURE_TYPE_NONE in v3.

Please let me know if still have any problem to accept this patch, and I'm glad to update it. 

> -----Original Message-----
> From: Li, Zhong
> Sent: Wednesday, March 28, 2018 4:50 PM
> To: libav-devel at libav.org
> Cc: Li, Zhong <zhong.li at intel.com>; Liu, ChaoX A <chaox.a.liu at intel.com>
> Subject: [PATCH] lavc/qsvdec: expose frame pic_type
> Currently pict_type are unset.
> Add an extra param to fetch the picture type from qsv decoder
> v2: fix the compile error since AV_PICTURE_TYPE_NONE is not existed in
> libav.
> v3: remove the key_frame setting because 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 <chaox.a.liu at intel.com>
> Signed-off-by: Zhong Li <zhong.li at intel.com>

More information about the libav-devel mailing list