[vlc-commits] codec: vt_utils: don't use 10.13 value directly
Thomas Guillem
git at videolan.org
Mon Feb 19 21:13:41 CET 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb 19 21:12:55 2018 +0100| [5f436a17e0011672fdb417b2693a68fa068183d1] | committer: Thomas Guillem
codec: vt_utils: don't use 10.13 value directly
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f436a17e0011672fdb417b2693a68fa068183d1
---
modules/codec/vt_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/codec/vt_utils.c b/modules/codec/vt_utils.c
index d2450111bf..ea5ffb327e 100644
--- a/modules/codec/vt_utils.c
+++ b/modules/codec/vt_utils.c
@@ -242,7 +242,7 @@ cvpxpool_create(const video_format_t *fmt, unsigned count)
cvpx_format = kCVPixelFormatType_32BGRA;
break;
case VLC_CODEC_CVPX_P010:
- cvpx_format = kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange;
+ cvpx_format = 'x420'; /* kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange */
break;
default:
return NULL;
More information about the vlc-commits
mailing list