videotoolbox: fallback to I420 only if possible
commit7d24bc0645f808f36fe4527765a6b5cc96b3c7b2
authorThomas Guillem <thomas@gllm.fr>
Fri, 9 Mar 2018 11:58:34 +0000 (9 12:58 +0100)
committerThomas Guillem <thomas@gllm.fr>
Fri, 9 Mar 2018 12:40:29 +0000 (9 13:40 +0100)
treed35a9fa2cff5ae99f46d6825721b335400e87183
parent8accf7bbddaba294e031dea133b5c9db29257e5c
videotoolbox: fallback to I420 only if possible

This fixes the kVTPixelTransferNotSupportedErr error when trying to convert P010 to I420
modules/codec/videotoolbox.m