libarmbox/playback_libeplayer3.cpp: try to fix box freeze after pause->fastforward

This commit is contained in:
Jacek Jendrzej
2020-07-05 18:19:08 +02:00
parent 2d58382cdf
commit 2ec2c1f97c

View File

@@ -364,6 +364,11 @@ bool cPlayback::SetSpeed(int speed)
if (player && player->playback)
{
int result = 0;
if(nPlaybackSpeed == 0 && speed > 1)
{
result = player->playback->Command(player, PLAYBACK_CONTINUE, NULL);
}
nPlaybackSpeed = speed;
if (speed > 1)