diff options
Diffstat (limited to 'video/out/opengl')
-rw-r--r-- | video/out/opengl/hwdec_osx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/video/out/opengl/hwdec_osx.c b/video/out/opengl/hwdec_osx.c index 677661c09e..e0fc5ab19b 100644 --- a/video/out/opengl/hwdec_osx.c +++ b/video/out/opengl/hwdec_osx.c @@ -70,6 +70,16 @@ static struct vt_format vt_formats[] = { } }, { + .cvpixfmt = kCVPixelFormatType_420YpCbCr8Planar, + .imgfmt = IMGFMT_420P, + .planes = 3, + .gl = { + { GL_RED, GL_UNSIGNED_BYTE, GL_RED }, + { GL_RED, GL_UNSIGNED_BYTE, GL_RED }, + { GL_RED, GL_UNSIGNED_BYTE, GL_RED }, + } + }, + { .cvpixfmt = kCVPixelFormatType_32BGRA, .imgfmt = IMGFMT_RGB0, .planes = 1, |