Skip to content
Snippets Groups Projects
Commit 47776b7f authored by Marvin Scholz's avatar Marvin Scholz Committed by Jean-Baptiste Kempf
Browse files

codec: videotoolbox: handle kVTVideoDecoderReferenceMissingErr


The kVTVideoDecoderReferenceMissingErr error is not a critical one,
but without it being handled here, it would lead to aborting with
VideoToolbox and falling back to Software.

Reproduced this with a sample provided by zhilizhao(赵志立),
related to !1790.

I assume that before this error code was introduced in macOS 12/iOS 15,
VT did just return the NULL image buffer with a success status code,
leading to the issue seen in !1790.

(cherry picked from commit f7434e60)
Signed-off-by: default avatarMarvin Scholz <epirat07@gmail.com>
parent 21952d52
No related branches found
No related tags found
2 merge requests!3533Backport MR 3236 to 3.0.x,!2006[3.0] codec: videotoolbox: handle kVTVideoDecoderReferenceMissingErr
Pipeline #226037 failed with stages
in 16 minutes and 44 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment