vlc | branch: master | Thomas Guillem <[email protected]> | Fri Nov 24 09:18:09 2017 +0100| [918aea708b6a39106ae096cc8c8b907e0f7ac75e] | committer: Thomas Guillem
codec: videotoolbox: don't force NV12 for 10bits > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=918aea708b6a39106ae096cc8c8b907e0f7ac75e --- modules/codec/videotoolbox.m | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m index 37fb45b330..517c18edd3 100644 --- a/modules/codec/videotoolbox.m +++ b/modules/codec/videotoolbox.m @@ -387,16 +387,7 @@ static bool CodecSupportedH264(decoder_t *p_dec) case PROFILE_H264_HIGH_10: { if (deviceSupportsAdvancedProfiles()) - { - /* FIXME: There is no YUV420 10bits chroma. The - * decoder seems to output RGBA when decoding 10bits - * content, but there is an unknown crash when - * displaying such output, so force NV12 for now. */ - if (p_dec->p_sys->i_forced_cvpx_format == 0) - p_dec->p_sys->i_forced_cvpx_format = - kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange; break; - } else { msg_Err(p_dec, "current device doesn't support H264 10bits"); _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
