Commit c142e6ec authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4: input manager, reorder the event to match the core vlc_input.h order

No functionnal change.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 09893d62
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment