[vlc-devel] commit: Compilation fix (gapi). (Laurent Aimar )

git version control git at videolan.org
Tue Jan 5 23:38:12 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Jan  5 23:36:09 2010 +0100| [738cabebf79576f60fb0985adb32c5ae8a72db36] | committer: Laurent Aimar 

Compilation fix (gapi).

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

 modules/video_output/msw/common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/msw/common.c b/modules/video_output/msw/common.c
index dcb95e9..d21e211 100644
--- a/modules/video_output/msw/common.c
+++ b/modules/video_output/msw/common.c
@@ -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
 




More information about the vlc-devel mailing list