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: [email protected] > Cc: Li, Zhong <[email protected]>; Liu, ChaoX A <[email protected]> > 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 <[email protected]> > Signed-off-by: Zhong Li <[email protected]> _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
