vlc/vlc-3.0 | branch: master | Thomas Guillem <tho...@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 <dfuhrm...@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;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to