mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
src/gui/movieplayer.cpp fix play icon after pause->seek
Origin commit data
------------------
Commit: 4318615a60
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-06-30 (Fri, 30 Jun 2017)
This commit is contained in:
@@ -1253,6 +1253,11 @@ bool CMoviePlayerGui::SetPosition(int pos, bool absolute)
|
||||
{
|
||||
clearSubtitle();
|
||||
bool res = playback->SetPosition(pos, absolute);
|
||||
if(is_file_player && res && speed == 0 && playstate == CMoviePlayerGui::PAUSE){
|
||||
playstate = CMoviePlayerGui::PLAY;
|
||||
speed = 1;
|
||||
playback->SetSpeed(speed);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user