From f33a0f965a62ca6a8392d16efad00c2bbd878351 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 27 Nov 2012 03:07:44 +0200 Subject: [PATCH] frontend: remove res check it's already done at the upper level, and this was wrong anyway because plat_gvideo_set_mode can change vout_w and vout_h --- frontend/plugin_lib.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index 400e9ff2..73ddc825 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -257,10 +257,6 @@ static void pl_vout_set_mode(int w, int h, int raw_w, int raw_h, int bpp) } #endif - if (pl_vout_buf != NULL && vout_w == pl_vout_w && vout_h == pl_vout_h - && vout_bpp == pl_vout_bpp) - return; - update_layer_size(vout_w, vout_h); pl_vout_buf = plat_gvideo_set_mode(&vout_w, &vout_h, &vout_bpp); -- 2.39.5