On 07/09/13 20:13, Yukinori Yamazoe wrote:
> 2013/9/3 Luca Barbato <[email protected]>:
>>
>> I'm not convinced it is an improvement.
>>
> 
> I had thought AVCodecContext.extradata may not have many byte that
> MFXVideoDECODE_DecodeHeader() needs at init().

It should be impossible. The extradata must contain everything you need.

> The parameters MFXVideoDECODE_Init() and MFXVideoDECODE_QueryIOSurf()
> need can be created from AVCodecContext without
> MFXVideoDECODE_DecodeHeader().
> However, because MFXVideoDECODE_DecodeHeader() did not return
> MFX_ERR_MORE_DATA to all the video files I tried, I remove this patch.

Thanks!

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to