[vlc-devel] [PATCH 08/13] mosaic_bridge: remove redundant visible geometry check
Steve Lhomme
robux4 at ycbcr.xyz
Tue Feb 19 10:38:21 CET 2019
It's done better in decoder_UpdateVideoFormat anyway
---
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 15e8f6fbe4..0f6df2e84c 100644
--- a/modules/stream_out/mosaic_bridge.c
+++ b/modules/stream_out/mosaic_bridge.c
@@ -604,13 +604,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