Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
27c1188f
Commit
27c1188f
authored
Aug 30, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HLS: remove tabs and trailing space
parent
65d11fbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+3
-3
No files found.
modules/stream_filter/httplive.c
View file @
27c1188f
...
@@ -1271,7 +1271,7 @@ static int get_HTTPLiveMetaPlaylist(stream_t *s, vlc_array_t **streams)
...
@@ -1271,7 +1271,7 @@ static int get_HTTPLiveMetaPlaylist(stream_t *s, vlc_array_t **streams)
return
err
;
return
err
;
}
}
/* Update hls_old (an existing member of p_sys->hls_stream) to match hls_new
/* Update hls_old (an existing member of p_sys->hls_stream) to match hls_new
(which represents a downloaded, perhaps newer version of the same playlist) */
(which represents a downloaded, perhaps newer version of the same playlist) */
static
int
hls_UpdatePlaylist
(
stream_t
*
s
,
hls_stream_t
*
hls_new
,
hls_stream_t
*
hls_old
)
static
int
hls_UpdatePlaylist
(
stream_t
*
s
,
hls_stream_t
*
hls_new
,
hls_stream_t
*
hls_old
)
{
{
...
@@ -1836,7 +1836,7 @@ static char *ReadLine(uint8_t *buffer, uint8_t **pos, const size_t len)
...
@@ -1836,7 +1836,7 @@ static char *ReadLine(uint8_t *buffer, uint8_t **pos, const size_t len)
/* next pass start after \r and \n */
/* next pass start after \r and \n */
p
++
;
p
++
;
*
pos
=
p
;
*
pos
=
p
;
}
}
}
}
return
line
;
return
line
;
...
@@ -2423,7 +2423,7 @@ static int segment_Seek(stream_t *s, const uint64_t pos)
...
@@ -2423,7 +2423,7 @@ static int segment_Seek(stream_t *s, const uint64_t pos)
/* Wait for download to be finished */
/* Wait for download to be finished */
msg_Info
(
s
,
"seek to segment %d"
,
p_sys
->
playback
.
segment
);
msg_Info
(
s
,
"seek to segment %d"
,
p_sys
->
playback
.
segment
);
while
((
p_sys
->
download
.
seek
!=
-
1
)
||
while
((
p_sys
->
download
.
seek
!=
-
1
)
||
((
p_sys
->
download
.
segment
-
p_sys
->
playback
.
segment
<
3
)
&&
((
p_sys
->
download
.
segment
-
p_sys
->
playback
.
segment
<
3
)
&&
(
p_sys
->
download
.
segment
<
count
)))
(
p_sys
->
download
.
segment
<
count
)))
{
{
vlc_cond_wait
(
&
p_sys
->
download
.
wait
,
&
p_sys
->
download
.
lock_wait
);
vlc_cond_wait
(
&
p_sys
->
download
.
wait
,
&
p_sys
->
download
.
lock_wait
);
...
...
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