[vlc-devel] [PATCH 12/18] mosaic_bridge: don't do the visible size fixup in update_format callback

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


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

diff --git a/modules/stream_out/mosaic_bridge.c b/modules/stream_out/mosaic_bridge.c
index 0d30e27992b..8dd2fef0fb9 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -616,13 +616,6 @@ static void video_update_format( video_format_t *video, es_format_t *fmt_out )
                      fmt_out->video.i_sar_num,
                      fmt_out->video.i_sar_den, 0 );
 
-        if( !fmt_out->video.i_visible_width ||
-            !fmt_out->video.i_visible_height )
-        {
-            fmt_out->video.i_visible_width = fmt_out->video.i_width;
-            fmt_out->video.i_visible_height = fmt_out->video.i_height;
-        }
-
         *video = fmt_out->video;
     }
 }
-- 
2.17.1



More information about the vlc-devel mailing list