[vlc-devel] [PATCH] videotoolbox: map ap4x to the ProRes 4444 decoder

Steve Lhomme robux4 at ycbcr.xyz
Mon Apr 16 08:56:55 CEST 2018


---
 modules/codec/videotoolbox.m | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
index 6c5c0d342f..04e57dfe39 100644
--- a/modules/codec/videotoolbox.m
+++ b/modules/codec/videotoolbox.m
@@ -1021,6 +1021,7 @@ static CMVideoCodecType CodecPrecheck(decoder_t *p_dec)
             switch (p_dec->fmt_in.i_original_fourcc) {
                 case VLC_FOURCC( 'a','p','4','c' ):
                 case VLC_FOURCC( 'a','p','4','h' ):
+                case VLC_FOURCC( 'a','p','4','x' ):
                     return kCMVideoCodecType_AppleProRes4444;
 
                 case VLC_FOURCC( 'a','p','c','h' ):
-- 
2.16.2



More information about the vlc-devel mailing list