mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libarmbox/playback_libeplayer3.cpp: try to fix box freeze after pause->fastforward
This commit is contained in:
@@ -364,6 +364,11 @@ bool cPlayback::SetSpeed(int speed)
|
|||||||
if (player && player->playback)
|
if (player && player->playback)
|
||||||
{
|
{
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
if(nPlaybackSpeed == 0 && speed > 1)
|
||||||
|
{
|
||||||
|
result = player->playback->Command(player, PLAYBACK_CONTINUE, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
nPlaybackSpeed = speed;
|
nPlaybackSpeed = speed;
|
||||||
|
|
||||||
if (speed > 1)
|
if (speed > 1)
|
||||||
|
Reference in New Issue
Block a user