# include "config.h"
#endif
+#define VLC_MODULE_LICENSE VLC_LICENSE_GPL_2_PLUS
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
int state = var_GetInteger( p_input, "state" );
DisplayIcon( p_vout, state != PAUSE_S ? OSD_PAUSE_ICON : OSD_PLAY_ICON );
- playlist_Pause( p_playlist );
}
- else
- playlist_Play( p_playlist );
+ playlist_TogglePause( p_playlist );
break;
case ACTIONID_PLAY: