enable abortRequested for http and isPlaying is 0, some dash urls hangs (ffmpeg timeouut is broken ?)

Origin commit data
------------------
Branch: master
Commit: 8d0938a357
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-07-19 (Fri, 19 Jul 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-07-19 17:58:59 +02:00
committed by vanhofen
parent 5eba1fc812
commit 13ac6ab00a

View File

@@ -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()