[vlc-commits] display: remove useless local copy
Rémi Denis-Courmont
git at videolan.org
Sat Sep 2 19:22:59 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 27 14:44:44 2017 +0300| [f7cec7f2d498e22f03a419d8512601d0cbf9485d] | committer: Rémi Denis-Courmont
display: remove useless local copy
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7cec7f2d498e22f03a419d8512601d0cbf9485d
---
src/video_output/display.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index f29af3687c..58df03b617 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -842,12 +842,10 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
}
/* */
if (osys->is_display_filled != osys->cfg.is_display_filled) {
- vout_display_cfg_t cfg = osys->cfg;
-
- cfg.is_display_filled = osys->is_display_filled;
-
- vout_display_Control(vd, VOUT_DISPLAY_CHANGE_DISPLAY_FILLED, &cfg);
osys->cfg.is_display_filled = osys->is_display_filled;
+
+ vout_display_Control(vd, VOUT_DISPLAY_CHANGE_DISPLAY_FILLED,
+ &osys->cfg);
}
/* */
if (osys->ch_zoom) {
More information about the vlc-commits
mailing list