[vlc-commits] mosaic_bridge: don't do the visible size fixup in update_format callback

Steve Lhomme git at videolan.org
Mon Nov 4 10:42:00 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Aug  6 13:48:41 2019 +0200| [0967518532b676aa0ae41ee0393c77465c7c85b0] | committer: Steve Lhomme

mosaic_bridge: don't do the visible size fixup in update_format callback

It's already done in the decoder helper.

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

 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 0d30e27992..8dd2fef0fb 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;
     }
 }



More information about the vlc-commits mailing list