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
1a89d92f
Commit
1a89d92f
authored
Jan 23, 2012
by
Luc Saillard
Committed by
Jean-Baptiste Kempf
Jan 23, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hls: Renaming Download to hls_DownloadSegmentData
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
bcbad8c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+4
-4
No files found.
modules/stream_filter/httplive.c
View file @
1a89d92f
...
...
@@ -1514,7 +1514,7 @@ static int BandwidthAdaptation(stream_t *s, int progid, uint64_t *bandwidth)
return
candidate
;
}
static
int
Download
(
stream_t
*
s
,
hls_stream_t
*
hls
,
segment_t
*
segment
,
int
*
cur_stream
)
static
int
hls_DownloadSegmentData
(
stream_t
*
s
,
hls_stream_t
*
hls
,
segment_t
*
segment
,
int
*
cur_stream
)
{
stream_sys_t
*
p_sys
=
s
->
p_sys
;
...
...
@@ -1634,7 +1634,7 @@ static void* hls_Thread(void *p_this)
vlc_mutex_unlock
(
&
hls
->
lock
);
if
((
segment
!=
NULL
)
&&
(
Download
(
s
,
hls
,
segment
,
&
p_sys
->
download
.
stream
)
!=
VLC_SUCCESS
))
(
hls_DownloadSegmentData
(
s
,
hls
,
segment
,
&
p_sys
->
download
.
stream
)
!=
VLC_SUCCESS
))
{
if
(
!
vlc_object_alive
(
s
))
break
;
...
...
@@ -1733,7 +1733,7 @@ again:
if
(
segment
==
NULL
)
return
VLC_EGENERIC
;
if
(
Download
(
s
,
hls
,
segment
,
current
)
!=
VLC_SUCCESS
)
if
(
hls_DownloadSegmentData
(
s
,
hls
,
segment
,
current
)
!=
VLC_SUCCESS
)
return
VLC_EGENERIC
;
/* Found better bandwidth match, try again */
...
...
@@ -1754,7 +1754,7 @@ again:
continue
;
}
if
(
Download
(
s
,
hls
,
segment
,
current
)
!=
VLC_SUCCESS
)
if
(
hls_DownloadSegmentData
(
s
,
hls
,
segment
,
current
)
!=
VLC_SUCCESS
)
return
VLC_EGENERIC
;
p_sys
->
download
.
segment
++
;
...
...
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