[vlc-devel] [PATCH 3/6] videotoolbox: remove useless chroma setting

Thomas Guillem thomas at gllm.fr
Fri Jan 24 11:03:39 CET 2020


It's not handled by the core.
---
 modules/codec/videotoolbox.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/codec/videotoolbox.c b/modules/codec/videotoolbox.c
index c34446727cc..42f7e50209f 100644
--- a/modules/codec/videotoolbox.c
+++ b/modules/codec/videotoolbox.c
@@ -2101,7 +2101,6 @@ static int UpdateVideoFormat(decoder_t *p_dec, CVPixelBufferRef imageBuffer)
             return -1;
     }
 
-    p_dec->fmt_out.video.i_chroma = p_dec->fmt_out.i_codec;
     if (decoder_UpdateVideoOutput(p_dec, p_sys->vctx) != 0)
     {
         p_sys->vtsession_status = VTSESSION_STATUS_ABORT;
-- 
2.20.1



More information about the vlc-devel mailing list