[vlc-devel] commit: Revert "events: use input_state_e in input_state_changed." ( Pierre d'Herbemont )

git version control git at videolan.org
Sat Jun 14 15:50:36 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jun 14 15:52:23 2008 +0200| [cea7dd86b070723c0c5f61cac8b45e9b8874201c]

Revert "events: use input_state_e in input_state_changed."

This reverts commit 627aaa888d8bf6f2fa64749263128be78791b462.

Well, we do need to define the type first. Limitation of how we declared events.

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

 include/vlc_events.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_events.h b/include/vlc_events.h
index e9cdac6..c26cdb5 100644
--- a/include/vlc_events.h
+++ b/include/vlc_events.h
@@ -140,7 +140,7 @@ typedef struct vlc_event_t
         /* Input (thread) events */
         struct vlc_input_state_changed
         {
-            input_state_e new_state;
+            int new_state;
         } input_state_changed;
 
         /* Input item events */




More information about the vlc-devel mailing list