[vlc-commits] video output: failing to resize is fine if forced

Rémi Denis-Courmont git at videolan.org
Sun Mar 16 14:07:15 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 16 15:05:34 2014 +0200| [f952f16e632d2b755a4934de8a6480587944447f] | committer: Rémi Denis-Courmont

video output: failing to resize is fine if forced

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

 src/video_output/display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index 4ce6d47..4b85f0c 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -926,7 +926,7 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
 
             if (!cfg.is_fullscreen != !display_is_fullscreen ||
                 vout_display_Control(vd, VOUT_DISPLAY_CHANGE_DISPLAY_SIZE, &cfg, display_is_forced)) {
-                if (!cfg.is_fullscreen == !display_is_fullscreen)
+                if (!display_is_forced)
                     msg_Err(vd, "Failed to resize display");
 
                 /* We ignore the resized */



More information about the vlc-commits mailing list