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
2d06277c
Commit
2d06277c
authored
Dec 20, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter/httplive.c: p_sys->segment reset in hls_Thread is not needed.
commit id: 4929a92d makes this code obsolete
parent
4c4ac431
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+1
-4
No files found.
modules/stream_filter/httplive.c
View file @
2d06277c
...
...
@@ -61,7 +61,7 @@ vlc_module_end()
typedef
struct
segment_s
{
int
sequence
;
/* unique sequence number */
int
duration
;
/* segment duration (seconds) */
int
duration
;
/* segment duration (seconds) */
uint64_t
size
;
/* segment size in bytes */
uint64_t
bandwidth
;
/* bandwidth usage of segments (bits per second)*/
...
...
@@ -937,9 +937,6 @@ static void* hls_Thread(vlc_object_t *p_this)
p_sys
->
wakeup
=
p_sys
->
last
+
(
2
*
(
mtime_t
)
1000000
);
}
mwait
(
p_sys
->
wakeup
);
/* reset download segment to current playback segment */
client
->
segment
=
p_sys
->
segment
+
1
;
}
else
if
(
Download
(
client
->
s
,
hls
,
segment
,
&
client
->
current
)
!=
VLC_SUCCESS
)
{
...
...
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