The associated libvlc_MediaPlayerStopped and libvlc_Stopped value could
probably be removed (not done as I do not know the maintainer opinion).
BUFFERING_S,
PLAYING_S,
PAUSE_S,
BUFFERING_S,
PLAYING_S,
PAUSE_S,
END_S,
ERROR_S,
} input_state_e;
END_S,
ERROR_S,
} input_state_e;
}
if( newval.i_int == PLAYING_S || newval.i_int == PAUSE_S ||
}
if( newval.i_int == PLAYING_S || newval.i_int == PAUSE_S ||
- newval.i_int == STOP_S || newval.i_int == END_S )
+ newval.i_int == END_S )
{
StatusChangeSignal( p_sys->p_conn, (void*) p_intf );
}
{
StatusChangeSignal( p_sys->p_conn, (void*) p_intf );
}
{
mvnprintw( y++, 0, COLS, _(" State : Playing %s"), psz_state );
}
{
mvnprintw( y++, 0, COLS, _(" State : Playing %s"), psz_state );
}
- else if( val.i_int == STOP_S )
- {
- mvnprintw( y++, 0, COLS, _(" State : Stopped %s"), psz_state );
- }
else if( val.i_int == OPENING_S )
{
mvnprintw( y++, 0, COLS, _(" State : Opening/Connecting %s"), psz_state );
else if( val.i_int == OPENING_S )
{
mvnprintw( y++, 0, COLS, _(" State : Opening/Connecting %s"), psz_state );
[BUFFERING_S] = libvlc_Buffering,
[PLAYING_S] = libvlc_Playing,
[PAUSE_S] = libvlc_Paused,
[BUFFERING_S] = libvlc_Buffering,
[PLAYING_S] = libvlc_Playing,
[PAUSE_S] = libvlc_Paused,
- [STOP_S] = libvlc_Stopped,
[END_S] = libvlc_Ended,
[ERROR_S] = libvlc_Error,
};
[END_S] = libvlc_Ended,
[ERROR_S] = libvlc_Error,
};
libvlc_media_set_state( p_mi->p_md, libvlc_Paused, NULL);
forwarded_event.type = libvlc_MediaPlayerPaused;
break;
libvlc_media_set_state( p_mi->p_md, libvlc_Paused, NULL);
forwarded_event.type = libvlc_MediaPlayerPaused;
break;
- case STOP_S:
- libvlc_media_set_state( p_mi->p_md, libvlc_Stopped, NULL);
- forwarded_event.type = libvlc_MediaPlayerStopped;
- break;
case END_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Ended, NULL);
forwarded_event.type = libvlc_MediaPlayerEndReached;
case END_S:
libvlc_media_set_state( p_mi->p_md, libvlc_Ended, NULL);
forwarded_event.type = libvlc_MediaPlayerEndReached;