mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +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__);
|
hal_info("%s\n", __func__);
|
||||||
Stop();
|
Stop();
|
||||||
//player->playback->abortRequested = 1;
|
//player->playback->abortRequested = 1;//why ?
|
||||||
while (player->playback->isPlaying)
|
while (player->playback->isPlaying)
|
||||||
usleep(100000);
|
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()
|
bool cPlayback::IsPlaying()
|
||||||
|
Reference in New Issue
Block a user