mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 23:42:43 +02:00
armbox eplayer: increase wait time (thx DboxOldie)
Origin commit data
------------------
Branch: master
Commit: 48be31fb6d
Author: max_10 <max_10@gmx.de>
Date: 2017-12-30 (Sat, 30 Dec 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2198,7 +2198,11 @@ static int32_t container_ffmpeg_play(Context_t *context)
|
|||||||
static int32_t container_ffmpeg_stop(Context_t *context)
|
static int32_t container_ffmpeg_stop(Context_t *context)
|
||||||
{
|
{
|
||||||
int32_t ret = cERR_CONTAINER_FFMPEG_NO_ERROR;
|
int32_t ret = cERR_CONTAINER_FFMPEG_NO_ERROR;
|
||||||
int32_t wait_time = 10; // we give 1s to close otherwise we will force close
|
int32_t wait_time = 50;
|
||||||
|
/* we give 5s max. to close otherwise we will force close
|
||||||
|
* in this case, ffmpeg thread will not be terminated
|
||||||
|
* and causes in most cases a segfault
|
||||||
|
*/
|
||||||
ffmpeg_printf(10, "\n");
|
ffmpeg_printf(10, "\n");
|
||||||
if (!isContainerRunning)
|
if (!isContainerRunning)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user