mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
-audioplayer change curl timeout to 2sec
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1161 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -984,7 +984,7 @@ void CAudioPlayerGui::addUrl2Playlist(const char *url, const char *name, const t
|
|||||||
void CAudioPlayerGui::processPlaylistUrl(const char *url, const char *name, const time_t tim) {
|
void CAudioPlayerGui::processPlaylistUrl(const char *url, const char *name, const time_t tim) {
|
||||||
CURL *curl_handle;
|
CURL *curl_handle;
|
||||||
struct MemoryStruct chunk;
|
struct MemoryStruct chunk;
|
||||||
const long int GET_PLAYLIST_TIMEOUT = 10;
|
const long int GET_PLAYLIST_TIMEOUT = 2;
|
||||||
|
|
||||||
printf("CAudioPlayerGui::processPlaylistUrl (%s, %s)\n", url, name);
|
printf("CAudioPlayerGui::processPlaylistUrl (%s, %s)\n", url, name);
|
||||||
chunk.memory=NULL; /* we expect realloc(NULL, size) to work */
|
chunk.memory=NULL; /* we expect realloc(NULL, size) to work */
|
||||||
|
Reference in New Issue
Block a user