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
66e04b7e
Commit
66e04b7e
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
9f49c9c3
Changes
1
Hide 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 @
66e04b7e
...
...
@@ -361,7 +361,7 @@ static int ChooseSegment(stream_t *s, int current)
/* Choose a segment to start which is no closer then
* 3 times the target duration from the end of the playlist.
*/
int
wanted
=
-
1
;
int
wanted
=
0
;
int
duration
=
0
;
int
count
=
vlc_array_count
(
hls
->
segments
);
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