[FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: improving handling for return codes of MFXVideoENCODE_EncodeFrameAsync

Michael Niedermayer michaelni at gmx.at
Fri Jul 10 02:13:29 CEST 2015


On Thu, Jul 09, 2015 at 10:10:17PM +0300, Ivan Uskov wrote:
> Hello All,
> 
> Current implementation of handling MFXVideoENCODE_EncodeFrameAsync()
> return codes allows unhanded silent warnings and unclear error
> reporting if the function return some non-successful code.
> The attached patch solves this issue and makes troubleshooting more
> easy. Please review.
>   
> 
> -- 
> Best regards,
>  Ivan                          mailto:ivan.uskov at nablet.com

>  qsvenc.c |   18 +++++++++++++-----
>  1 file changed, 13 insertions(+), 5 deletions(-)
> ea4b9e9cb073156b0fa4f7ffa4fc4c32c43ab0a1  0001-libavcodec-qsvenc.c-improving-handling-for-return-co.patch
> From 0b2b547325821ace205ddfbecad13d56cd21ca7b Mon Sep 17 00:00:00 2001
> From: Ivan Uskov <ivan.uskov at nablet.com>
> Date: Thu, 9 Jul 2015 22:01:00 +0300
> Subject: [PATCH] libavcodec/qsvenc.c: improving handling for return codes of
>  MFXVideoENCODE_EncodeFrameAsync

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150710/64360186/attachment.sig>


More information about the ffmpeg-devel mailing list