[vlc-commits] Win32: return a failure when a CHANGE_DISPLAY_SIZE event is forced

Felix Abecassis git at videolan.org
Tue Feb 11 17:06:05 CET 2014


vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Tue Feb 11 16:20:06 2014 +0100| [ad58279cf86051a108589eeea6520f69243c1fb8] | committer: Jean-Baptiste Kempf

Win32: return a failure when a CHANGE_DISPLAY_SIZE event is forced

See x11.c for rationale.

Close #9273

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_output/msw/common.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index 1174a42..f4954b1 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -588,6 +588,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
                              rect_window.right - rect_window.left,
                              rect_window.bottom - rect_window.top, SWP_NOMOVE);
             }
+            return VLC_EGENERIC;
         }
         UpdateRects(vd, cfg, source, is_forced);
         return VLC_SUCCESS;



More information about the vlc-commits mailing list