[vlc-devel] commit: Even Laurent makes horrible mistakes sometimes ;) ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Feb 9 20:22:30 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb  9 19:27:11 2010 +0200| [9bd7a6e2581a9ce951b53cf083ceff98ddb40e8a] | committer: Rémi Denis-Courmont 

Even Laurent makes horrible mistakes sometimes ;)

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

 src/video_output/event.h |   64 +++++++++++++++++++++++-----------------------
 1 files changed, 32 insertions(+), 32 deletions(-)

diff --git a/src/video_output/event.h b/src/video_output/event.h
index 37eb390..74a8a1a 100644
--- a/src/video_output/event.h
+++ b/src/video_output/event.h
@@ -44,51 +44,51 @@
 
 static inline void vout_SendEventClose(vout_thread_t *vout)
 {
-	/* Ask to stop
-	 * FIXME works only for input handled by the playlist
-	 */
-	playlist_t *playlist = pl_Hold(vout);
-	if (playlist) {
-		playlist_Stop(playlist);
-		pl_Release(vout);
-	}
+    /* Ask to stop
+     * FIXME works only for input handled by the playlist
+     */
+    playlist_t *playlist = pl_Hold(vout);
+    if (playlist) {
+        playlist_Stop(playlist);
+        pl_Release(vout);
+    }
 }
 static inline void vout_SendEventKey(vout_thread_t *vout, int key)
 {
-	var_SetInteger(vout->p_libvlc, "key-pressed", key);
+    var_SetInteger(vout->p_libvlc, "key-pressed", key);
 }
 static inline void vout_SendEventMouseMoved(vout_thread_t *vout, int x, int y)
 {
-	var_SetInteger(vout, "mouse-x", x);
-	var_SetInteger(vout, "mouse-y", y);
-	var_SetBool(vout, "mouse-moved", true);
+    var_SetInteger(vout, "mouse-x", x);
+    var_SetInteger(vout, "mouse-y", y);
+    var_SetBool(vout, "mouse-moved", true);
 }
 static inline void vout_SendEventMousePressed(vout_thread_t *vout, int button)
 {
-	int current = var_GetInteger(vout, "mouse-button-down");
-	current |= 1 << button;
-	var_SetInteger(vout, "mouse-button-down", current);
+    int current = var_GetInteger(vout, "mouse-button-down");
+    current |= 1 << button;
+    var_SetInteger(vout, "mouse-button-down", current);
 
-	switch (button)
-	{
-	case MOUSE_BUTTON_LEFT:
-        var_SetBool(vout, "mouse-clicked", true);
-		var_SetBool(vout->p_libvlc, "intf-popupmenu", false);
-		break;
-	case MOUSE_BUTTON_CENTER:
-		var_SetBool(vout->p_libvlc, "intf-show",
-					 !var_GetBool(vout->p_libvlc, "intf-show"));
-		break;
-	case MOUSE_BUTTON_RIGHT:
-		var_SetBool(vout->p_libvlc, "intf-popupmenu", true);
-		break;
-	}
+    switch (button)
+    {
+    case MOUSE_BUTTON_LEFT:
+                var_SetBool(vout, "mouse-clicked", true);
+        var_SetBool(vout->p_libvlc, "intf-popupmenu", false);
+        break;
+    case MOUSE_BUTTON_CENTER:
+        var_SetBool(vout->p_libvlc, "intf-show",
+                     !var_GetBool(vout->p_libvlc, "intf-show"));
+        break;
+    case MOUSE_BUTTON_RIGHT:
+        var_SetBool(vout->p_libvlc, "intf-popupmenu", true);
+        break;
+    }
 }
 static inline void vout_SendEventMouseReleased(vout_thread_t *vout, int button)
 {
-	int current = var_GetInteger(vout, "mouse-button-down");
-	current &= ~(1 << button);
-	var_SetInteger(vout, "mouse-button-down", current);
+    int current = var_GetInteger(vout, "mouse-button-down");
+    current &= ~(1 << button);
+    var_SetInteger(vout, "mouse-button-down", current);
 }
 static inline void vout_SendEventMouseDoubleClick(vout_thread_t *vout)
 {




More information about the vlc-devel mailing list