mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
enable abortRequested for http and isPlaying is 0, some dash urls hangs (ffmpeg timeouut is broken ?)
This commit is contained in:
@@ -776,10 +776,16 @@ void cPlayback::RequestAbort()
|
||||
{
|
||||
hal_info("%s\n", __func__);
|
||||
Stop();
|
||||
//player->playback->abortRequested = 1;
|
||||
//player->playback->abortRequested = 1;//why ?
|
||||
while (player->playback->isPlaying)
|
||||
usleep(100000);
|
||||
}
|
||||
else if(player->playback->isHttp && !player->playback->isPlaying &&!player->playback->abortRequested)
|
||||
{
|
||||
hal_info("%s\n", __func__);
|
||||
player->playback->abortRequested = 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
bool cPlayback::IsPlaying()
|
||||
|
Reference in New Issue
Block a user