The V-Nova LCEVC pipeline processes frames on internal background
worker threads. LCEVC_ReceiveDecoderPicture returns LCEVC_Again (-1)
when the worker has not yet completed the frame, which is the
documented "not ready, try again" response. The original code treated
any non-zero return as a fatal error (AVERROR_EXTERNAL), causing decode
to abort mid-stream.

Poll until LCEVC_Success or a genuine error is returned.

Signed-off-by: Peter von Kaenel <[email protected]>

Attachment: 0002-avcodec-lcevcdec-poll-on-LCEVC_Again-from-LCEVC_Rece.patch
Description: 0002-avcodec-lcevcdec-poll-on-LCEVC_Again-from-LCEVC_Rece.patch

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to