[vlc-commits] mosaic_bridge: remove redundant code

Steve Lhomme git at videolan.org
Fri Feb 8 18:09:02 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Feb  8 16:38:33 2019 +0100| [b984269df17f57dde1f5eb60c2420981dfb3dc5d] | committer: Steve Lhomme

mosaic_bridge: remove redundant code

Not need to set it conditionally when we set it unconditionally afterwards.

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

 modules/stream_out/mosaic_bridge.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index 33c383496a..2214fa505a 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -625,7 +625,6 @@ static int video_update_format( vlc_object_t *p_this,
             fmt_out->video.i_visible_height = fmt_out->video.i_height;
         }
 
-        fmt_out->video.i_chroma = fmt_out->i_codec;
         *video = fmt_out->video;
     }
 



More information about the vlc-commits mailing list