From deae129f1a15fedf44bc3a3d40f26b84aa31092a Mon Sep 17 00:00:00 2001 From: Joern Date: Mon, 19 Oct 2015 19:23:29 +0200 Subject: [PATCH] Reset Replay Speed if switch RLV on/off on the same media file --- src/VideoWindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/VideoWindow.cpp b/src/VideoWindow.cpp index a70cc05f8..f347a3c42 100644 --- a/src/VideoWindow.cpp +++ b/src/VideoWindow.cpp @@ -206,6 +206,9 @@ void VideoWindow::startPlayback() /* set the media to playback */ libvlc_media_player_set_media (mp, m); + /* set the playback rate to the media default - since there may be a different one set from RLV */ + libvlc_media_player_set_rate(mp, libvlc_media_player_get_fps(mp)); + /* play the media_player */ libvlc_media_player_play (mp);