[vlc-devel] commit: Qt4: input manager, reorder the event to match the core vlc_input. h order (Jean-Baptiste Kempf )
git version control
git at videolan.org
Tue Dec 30 13:21:08 CET 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Dec 25 17:35:35 2008 +0100| [c142e6ec4380e97c20b76888fd70a04a0304e410] | committer: Jean-Baptiste Kempf
Qt4: input manager, reorder the event to match the core vlc_input.h order
No functionnal change.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c142e6ec4380e97c20b76888fd70a04a0304e410
---
modules/gui/qt4/input_manager.cpp | 27 +++++++++++++++------------
1 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 1d588e4..dc3066e 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -744,16 +744,24 @@ static int InputEvent( vlc_object_t *p_this, const char *,
event = new IMEvent( PositionUpdate_Type, 0 );
break;
- case INPUT_EVENT_STATISTICS:
- event = new IMEvent( StatisticsUpdate_Type, 0 );
+ case INPUT_EVENT_TITLE:
+ case INPUT_EVENT_CHAPTER: /* TODO is that correct ? */
+ event = new IMEvent( ItemTitleChanged_Type, 0 );
break;
+
+ case INPUT_EVENT_ES:
+ event = new IMEvent( ItemEsChanged_Type, 0 );
+ break;
+ case INPUT_EVENT_TELETEXT:
+ event = new IMEvent( ItemTeletextChanged_Type, 0 );
+ break;
+
case INPUT_EVENT_VOUT:
event = new IMEvent( InterfaceVoutUpdate_Type, 0 );
break;
- case INPUT_EVENT_TITLE:
- case INPUT_EVENT_CHAPTER: /* TODO is that correct ? */
- event = new IMEvent( ItemTitleChanged_Type, 0 );
+ case INPUT_EVENT_STATISTICS:
+ event = new IMEvent( StatisticsUpdate_Type, 0 );
break;
case INPUT_EVENT_ITEM_META:
@@ -762,18 +770,13 @@ static int InputEvent( vlc_object_t *p_this, const char *,
event = new IMEvent( MetaChanged_Type, 0 );
break;
- case INPUT_EVENT_ES:
- event = new IMEvent( ItemEsChanged_Type, 0 );
- break;
- case INPUT_EVENT_TELETEXT:
- event = new IMEvent( ItemTeletextChanged_Type, 0 );
- break;
-
case INPUT_EVENT_PROGRAM:
case INPUT_EVENT_RECORD:
case INPUT_EVENT_SIGNAL:
case INPUT_EVENT_AUDIO_DELAY:
case INPUT_EVENT_SUBTITLE_DELAY:
+ case INPUT_EVENT_BOOKMARK:
+ case INPUT_EVENT_CACHE:
default:
event = NULL;
break;
More information about the vlc-devel
mailing list