mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +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();
|
clearSubtitle();
|
||||||
bool res = playback->SetPosition(pos, absolute);
|
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;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user