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
*
* 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
{

14
modules/control/rc.c

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

Loading…
Cancel
Save