Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
85dcda0f
Commit
85dcda0f
authored
Sep 21, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter/httplive.c: Modify backoff algorithm
parent
b7eebe3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+6
-2
No files found.
modules/stream_filter/httplive.c
View file @
85dcda0f
...
...
@@ -1268,9 +1268,9 @@ static void* hls_Reload(void *p_this)
int
canc
=
vlc_savecancel
();
double
wait
=
0
.
5
;
while
(
vlc_object_alive
(
s
))
{
double
wait
=
1
;
mtime_t
now
=
mdate
();
if
(
now
>=
p_sys
->
playlist
.
wakeup
)
{
...
...
@@ -1283,7 +1283,11 @@ static void* hls_Reload(void *p_this)
else
if
(
p_sys
->
playlist
.
tries
==
2
)
wait
=
1
;
else
if
(
p_sys
->
playlist
.
tries
>=
3
)
wait
=
3
;
}
else
p_sys
->
playlist
.
tries
=
0
;
else
{
p_sys
->
playlist
.
tries
=
0
;
wait
=
0
.
5
;
}
hls_stream_t
*
hls
=
hls_Get
(
p_sys
->
hls_stream
,
p_sys
->
download
.
stream
);
assert
(
hls
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment