]> git.sesse.net Git - ffmpeg/blobdiff - fftools/ffmpeg_videotoolbox.c
avcodec/x86/v210: fix operands of vpblendd used in new avx2 code
[ffmpeg] / fftools / ffmpeg_videotoolbox.c
index b820aec017f7dec26a402e7a7f9fe26353664731..ad6174d3c7bbef2790c8ec093321adec7371cdaf 100644 (file)
@@ -52,6 +52,9 @@ static int videotoolbox_retrieve_data(AVCodecContext *s, AVFrame *frame)
     case kCVPixelFormatType_32BGRA:           vt->tmp_frame->format = AV_PIX_FMT_BGRA; break;
 #ifdef kCFCoreFoundationVersionNumber10_7
     case kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange: vt->tmp_frame->format = AV_PIX_FMT_NV12; break;
+#endif
+#if HAVE_KCVPIXELFORMATTYPE_420YPCBCR10BIPLANARVIDEORANGE
+    case kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange: vt->tmp_frame->format = AV_PIX_FMT_P010; break;
 #endif
     default:
         av_log(NULL, AV_LOG_ERROR,