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
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:
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
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