[vlc-devel] [PATCH 06/18] mosaic_bridge: don't do the chroma fixup in update_format callback

Steve Lhomme robux4 at ycbcr.xyz
Mon Oct 28 13:41:23 CET 2019


It's already done in the decoder helper.
---
 modules/stream_out/mosaic_bridge.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index a7ee45edc9a..0d30e27992b 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -625,9 +625,6 @@ static void video_update_format( video_format_t *video, es_format_t *fmt_out )
 
         *video = fmt_out->video;
     }
-
-    /* */
-    fmt_out->video.i_chroma = fmt_out->i_codec;
 }
 
 /**********************************************************************
-- 
2.17.1



More information about the vlc-devel mailing list