[vlc-commits] videotoolbox: remove useless chroma setting

Thomas Guillem git at videolan.org
Fri Jan 24 11:37:49 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan 24 10:23:34 2020 +0100| [a5fb6430a16af517d1d553d3507eb2eac432374c] | committer: Thomas Guillem

videotoolbox: remove useless chroma setting

It's not handled by the core.

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

 modules/codec/videotoolbox.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/codec/videotoolbox.c b/modules/codec/videotoolbox.c
index c34446727c..42f7e50209 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;



More information about the vlc-commits mailing list