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
32c4e59c
Commit
32c4e59c
authored
Feb 04, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter/httplive.c: ChooseSegment() defaults first segment
parent
2d9e01b4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+1
-1
No files found.
modules/stream_filter/httplive.c
View file @
32c4e59c
...
@@ -361,7 +361,7 @@ static int ChooseSegment(stream_t *s, int current)
...
@@ -361,7 +361,7 @@ static int ChooseSegment(stream_t *s, int current)
/* Choose a segment to start which is no closer then
/* Choose a segment to start which is no closer then
* 3 times the target duration from the end of the playlist.
* 3 times the target duration from the end of the playlist.
*/
*/
int
wanted
=
-
1
;
int
wanted
=
0
;
int
duration
=
0
;
int
duration
=
0
;
int
count
=
vlc_array_count
(
hls
->
segments
);
int
count
=
vlc_array_count
(
hls
->
segments
);
int
i
=
p_sys
->
b_live
?
count
-
1
:
0
;
int
i
=
p_sys
->
b_live
?
count
-
1
:
0
;
...
...
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