mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
reduce http timeout to 4s and make it configurable
Origin commit data
------------------
Branch: master
Commit: 4a56ebd0b3
Author: skyjet18 <57456827+skyjet18@users.noreply.github.com>
Date: 2023-01-24 (Tue, 24 Jan 2023)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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