[vlc-commits] codec: vt_utils: don't use 10.13 value directly

Thomas Guillem git at videolan.org
Mon Feb 19 21:57:06 CET 2018


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb 19 21:12:55 2018 +0100| [2cfb50def2bf562fc09fb002987ec645b93bd738] | committer: David Fuhrmann

codec: vt_utils: don't use 10.13 value directly

(cherry picked from commit 5f436a17e0011672fdb417b2693a68fa068183d1)
Signed-off-by: David Fuhrmann <dfuhrmann at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=2cfb50def2bf562fc09fb002987ec645b93bd738
---

 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 508e2902cf..4b52a32c84 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