summaryrefslogtreecommitdiffstats
path: root/video/out/vo_corevideo.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_corevideo.m')
-rw-r--r--video/out/vo_corevideo.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/vo_corevideo.m b/video/out/vo_corevideo.m
index 627281b4e0..04ab7019d1 100644
--- a/video/out/vo_corevideo.m
+++ b/video/out/vo_corevideo.m
@@ -330,8 +330,9 @@ static CFStringRef get_cv_csp_matrix(struct vo *vo)
return kCVImageBufferYCbCrMatrix_ITU_R_709_2;
case MP_CSP_SMPTE_240M:
return kCVImageBufferYCbCrMatrix_SMPTE_240M_1995;
+ default:
+ return kCVImageBufferYCbCrMatrix_ITU_R_601_4;
}
- return kCVImageBufferYCbCrMatrix_ITU_R_601_4;
}
static void set_yuv_colorspace(struct vo *vo)