[vlc-commits] Win32: Do not assert on non-recognized touch events
Jean-Baptiste Kempf
git at videolan.org
Thu Mar 20 19:35:05 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Mar 20 19:30:01 2014 +0100| [663877d8543d4e414f5040f14b116cdbe770fec1] | committer: Jean-Baptiste Kempf
Win32: Do not assert on non-recognized touch events
Sometimes GF_INERTIA is caught too, for example
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=663877d8543d4e414f5040f14b116cdbe770fec1
---
modules/control/win32touch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/control/win32touch.c b/modules/control/win32touch.c
index 03d7953..704a99c 100644
--- a/modules/control/win32touch.c
+++ b/modules/control/win32touch.c
@@ -150,7 +150,7 @@ LRESULT DecodeGesture( vlc_object_t *p_this, win32_gesture_sys_t *p_gesture,
}
break;
default:
- assert(0);
+ msg_Err( p_this, "Unmanaged dwFlag: %i", gi.dwFlags );
}
bHandled = TRUE;
break;
More information about the vlc-commits
mailing list