mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
reduce http timeout to 4s and make it configurable
This commit is contained in:
@@ -478,6 +478,7 @@ static int32_t PlaybackTerminate(Context_t *context)
|
||||
}
|
||||
|
||||
ret = context->container->selectedContainer->Command(context, CONTAINER_STOP, NULL);
|
||||
|
||||
if (context && context->playback)
|
||||
{
|
||||
context->playback->isPaused = 0;
|
||||
@@ -487,6 +488,7 @@ static int32_t PlaybackTerminate(Context_t *context)
|
||||
context->playback->SlowMotion = 0;
|
||||
context->playback->Speed = 0;
|
||||
}
|
||||
|
||||
if (context && context->output)
|
||||
context->output->Command(context, OUTPUT_STOP, NULL);
|
||||
}
|
||||
@@ -1014,5 +1016,7 @@ PlaybackHandler_t PlaybackHandler =
|
||||
0, //size
|
||||
0, //noprobe
|
||||
0, //isLoopMode
|
||||
0 //isTSLiveMode
|
||||
0, //isTSLiveMode
|
||||
4000, //httpTimeout
|
||||
NULL //stamp
|
||||
};
|
||||
|
Reference in New Issue
Block a user