[vlc-devel] [PATCH 07/13] decoder: remove redundant visible geometry check
Steve Lhomme
robux4 at ycbcr.xyz
Tue Feb 19 10:38:20 CET 2019
---
src/input/decoder.c | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/src/input/decoder.c b/src/input/decoder.c
index f87e418551..58a2445c7d 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -456,25 +456,6 @@ static int vout_update_format( decoder_t *p_dec )
video_format_t fmt = p_dec->fmt_out.video;
- if( !fmt.i_visible_width || !fmt.i_visible_height )
- {
- if( p_dec->fmt_in.video.i_visible_width &&
- p_dec->fmt_in.video.i_visible_height )
- {
- fmt.i_visible_width = p_dec->fmt_in.video.i_visible_width;
- fmt.i_visible_height = p_dec->fmt_in.video.i_visible_height;
- fmt.i_x_offset = p_dec->fmt_in.video.i_x_offset;
- fmt.i_y_offset = p_dec->fmt_in.video.i_y_offset;
- }
- else
- {
- fmt.i_visible_width = fmt.i_width;
- fmt.i_visible_height = fmt.i_height;
- fmt.i_x_offset = 0;
- fmt.i_y_offset = 0;
- }
- }
-
if( fmt.i_visible_height == 1088 &&
var_CreateGetBool( p_dec, "hdtv-fix" ) )
{
--
2.17.1
More information about the vlc-devel
mailing list