mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
src/gui/movieplayer.cpp fix play icon after pause->seek
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