> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Fu, Linjie
> Sent: Tuesday, January 15, 2019 9:37 AM
> To: FFmpeg development discussions and patches
>
> Subject: Re: [FFmpeg-devel] [PATCH 2/2] lavf/qsvvpp: cope with
> MFX_ERR_MORE_DATA cond
> -Original Message-
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Maxym Dmytrychenko
> Sent: Tuesday, January 15, 2019 03:12
> To: FFmpeg development discussions and patches de...@ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH 2/2] l
On Mon, Jan 14, 2019 at 5:53 PM Rostislav Pehlivanov
wrote:
> On Mon, 14 Jan 2019 at 12:40, Linjie Fu wrote:
>
> > Returning AVERROR(EAGAIN) when libmfx needs more data will cause the
> > failure
> > of requesting the next frame and lead to an infinite loop.
> >
> > Sleep for a while to release
On Mon, 14 Jan 2019 at 12:40, Linjie Fu wrote:
> Returning AVERROR(EAGAIN) when libmfx needs more data will cause the
> failure
> of requesting the next frame and lead to an infinite loop.
>
> Sleep for a while to release the resources before calling
> MFXVideoCORE_SyncOperation
> in hwupload to
Returning AVERROR(EAGAIN) when libmfx needs more data will cause the failure
of requesting the next frame and lead to an infinite loop.
Sleep for a while to release the resources before calling
MFXVideoCORE_SyncOperation
in hwupload to avoid the crash (in MCTF for example).
Signed-off-by: Linjie