summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vlc/emotion_generic_vlc.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vlc/emotion_generic_vlc.c b/src/vlc/emotion_generic_vlc.c
index 145833f..8c4e049 100644
--- a/src/vlc/emotion_generic_vlc.c
+++ b/src/vlc/emotion_generic_vlc.c
@@ -636,6 +636,10 @@ _remote_command(void *data, void *buffer, unsigned int nbyte)
_file_close(app);
app->last_order = EM_CMD_LAST;
break;
+ case EM_CMD_STOP:
+ _stop(app);
+ app->last_order = EM_CMD_LAST;
+ break;
}
}
else
@@ -657,9 +661,6 @@ _remote_command(void *data, void *buffer, unsigned int nbyte)
case EM_CMD_PLAY:
_play(app, *(float*) buffer);
break;
- case EM_CMD_STOP:
- _stop(app);
- break;
case EM_CMD_POSITION_SET:
_position_set(app, *(float*) buffer);
break;