Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
5eb8777f
Commit
5eb8777f
authored
Dec 31, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter/httplive.c: cleanup hls_Thread()
Cleanup hls_Thread().
parent
1ca77e87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+3
-4
No files found.
modules/stream_filter/httplive.c
View file @
5eb8777f
...
...
@@ -1192,8 +1192,7 @@ static int Download(stream_t *s, hls_stream_t *hls, segment_t *segment, int *cur
static
void
*
hls_Thread
(
vlc_object_t
*
p_this
)
{
hls_thread_t
*
client
=
(
hls_thread_t
*
)
p_this
;
stream_t
*
s
=
client
->
s
;
stream_t
*
s
=
((
hls_thread_t
*
)
p_this
)
->
s
;
stream_sys_t
*
p_sys
=
s
->
p_sys
;
int
canc
=
vlc_savecancel
();
...
...
@@ -1241,7 +1240,7 @@ static void* hls_Thread(vlc_object_t *p_this)
mtime_t
now
=
mdate
();
if
(
now
>=
p_sys
->
playlist
.
wakeup
)
{
if
(
hls_ReloadPlaylist
(
client
->
s
)
!=
VLC_SUCCESS
)
if
(
hls_ReloadPlaylist
(
s
)
!=
VLC_SUCCESS
)
{
/* No change in playlist, then backoff */
p_sys
->
playlist
.
tries
++
;
...
...
@@ -1265,7 +1264,7 @@ static void* hls_Thread(vlc_object_t *p_this)
assert
(
segment
);
vlc_mutex_unlock
(
&
hls
->
lock
);
if
(
Download
(
client
->
s
,
hls
,
segment
,
&
p_sys
->
download
.
current
)
!=
VLC_SUCCESS
)
if
(
Download
(
s
,
hls
,
segment
,
&
p_sys
->
download
.
current
)
!=
VLC_SUCCESS
)
{
if
(
!
vlc_object_alive
(
p_this
))
break
;
...
...
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