summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2012-03-23 20:18:22 +0000
committerRafael Antognolli <antognolli@gmail.com>2012-03-23 20:18:22 +0000
commiteb739d34d8e9b0b9bbaec020ad833d1a860d37c9 (patch)
tree7046762102d4b850a8af0eb1b5b65592ad82f7b7 /src
parenta057a1656a0b522692d785575a37cba40a95cbd4 (diff)
downloademotion_generic_players-eb739d34d8e9b0b9bbaec020ad833d1a860d37c9.tar.gz
emotion/generic-vlc: Change playing position before start playing.
This will avoid that a video that reached its end starts playing from that end when started again. SVN revision: 69592
Diffstat (limited to 'src')
-rw-r--r--src/vlc/emotion_generic_vlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlc/emotion_generic_vlc.c b/src/vlc/emotion_generic_vlc.c
index 266ae65..72649ac 100644
--- a/src/vlc/emotion_generic_vlc.c
+++ b/src/vlc/emotion_generic_vlc.c
@@ -310,8 +310,8 @@ _play(struct _App *app)
else
{
libvlc_time_t new_time = pos * 1000;
- libvlc_media_player_play(app->mp);
libvlc_media_player_set_time(app->mp, new_time);
+ libvlc_media_player_play(app->mp);
app->playing = 1;
}
}