]> git.sesse.net Git - vlc/commitdiff
Compilation fix (gapi).
authorLaurent Aimar <fenrir@videolan.org>
Tue, 5 Jan 2010 22:36:09 +0000 (23:36 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 5 Jan 2010 22:37:55 +0000 (23:37 +0100)
modules/video_output/msw/common.c

index dcb95e90c326dc29a63ee9fd18e34a3d47263b63..d21e211ea1ac56cde869e76e67953ef4445cd2af 100644 (file)
@@ -285,7 +285,7 @@ void UpdateRects(vout_display_t *vd,
 
     EventThreadUpdateSourceAndPlace(sys->event, source, &place);
 #if defined(MODULE_NAME_IS_wingapi)
-    if (place.width != fmt->i_width || place.height != fmt->i_height)
+    if (place.width != vd->fmt.i_width || place.height != vd->fmt.i_height)
         vout_display_SendEventPicturesInvalid(vd);
 #endif