Browse Source

Fixed ppsz_input_state in RC after input state changes.

pull/2/head
Laurent Aimar 18 years ago
parent
commit
da0ee427cf
  1. 3
      include/vlc_input.h
  2. 14
      modules/control/rc.c

3
include/vlc_input.h

@ -469,9 +469,6 @@ struct input_thread_t
* Input state * Input state
* *
* This enum is used by the variable "state" * This enum is used by the variable "state"
*
* NOTE: you need to update ppsz_input_state in the RC interface
* if you modify this list.
*/ */
typedef enum input_state_e typedef enum input_state_e
{ {

14
modules/control/rc.c

@ -69,14 +69,12 @@
/* input_state_e from <vlc_input.h> */ /* input_state_e from <vlc_input.h> */
static const char *ppsz_input_state[] = { static const char *ppsz_input_state[] = {
N_("Initializing"), [INIT_S] = N_("Initializing"),
N_("Opening"), [OPENING_S] = N_("Opening"),
N_("Buffer"), [PLAYING_S] = N_("Play"),
N_("Play"), [PAUSE_S] = N_("Pause"),
N_("Pause"), [END_S] = N_("End"),
N_("Stop"), [ERROR_S] = N_("Error"),
N_("End"),
N_("Error"),
}; };
/***************************************************************************** /*****************************************************************************

Loading…
Cancel
Save