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
d8f4b5c3
Commit
d8f4b5c3
authored
Jul 09, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smooth: remove write-only variable
parent
e937acbf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
7 deletions
+0
-7
modules/stream_filter/smooth/downloader.c
modules/stream_filter/smooth/downloader.c
+0
-3
modules/stream_filter/smooth/smooth.c
modules/stream_filter/smooth/smooth.c
+0
-3
modules/stream_filter/smooth/smooth.h
modules/stream_filter/smooth/smooth.h
+0
-1
No files found.
modules/stream_filter/smooth/downloader.c
View file @
d8f4b5c3
...
@@ -489,10 +489,7 @@ static int Download( stream_t *s, sms_stream_t *sms )
...
@@ -489,10 +489,7 @@ static int Download( stream_t *s, sms_stream_t *sms )
if
(
sms
->
p_chunks
==
NULL
||
sms
->
p_chunks
==
sms
->
p_lastchunk
)
if
(
sms
->
p_chunks
==
NULL
||
sms
->
p_chunks
==
sms
->
p_lastchunk
)
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
vlc_mutex_lock
(
&
p_sys
->
playback
.
lock
);
p_sys
->
playback
.
b_underrun
=
false
;
bw_stats_underrun
(
sms
);
bw_stats_underrun
(
sms
);
vlc_mutex_unlock
(
&
p_sys
->
playback
.
lock
);
quality_level_t
*
new_qlevel
=
BandwidthAdaptation
(
s
,
sms
,
sms
->
i_obw
,
quality_level_t
*
new_qlevel
=
BandwidthAdaptation
(
s
,
sms
,
sms
->
i_obw
,
duration
);
duration
);
...
...
modules/stream_filter/smooth/smooth.c
View file @
d8f4b5c3
...
@@ -690,9 +690,6 @@ static chunk_t *get_chunk( stream_t *s, const bool wait, bool *pb_isinit )
...
@@ -690,9 +690,6 @@ static chunk_t *get_chunk( stream_t *s, const bool wait, bool *pb_isinit )
}
}
msg_Dbg
(
s
,
"get_chunk is waiting for chunk %"
PRId64
"!!!"
,
p_chunk
->
start_time
);
msg_Dbg
(
s
,
"get_chunk is waiting for chunk %"
PRId64
"!!!"
,
p_chunk
->
start_time
);
vlc_mutex_lock
(
&
p_sys
->
playback
.
lock
);
p_sys
->
playback
.
b_underrun
=
true
;
vlc_mutex_unlock
(
&
p_sys
->
playback
.
lock
);
vlc_cond_timedwait
(
&
p_sys
->
playback
.
wait
,
vlc_cond_timedwait
(
&
p_sys
->
playback
.
wait
,
&
p_sys
->
p_current_stream
->
chunks_lock
,
mdate
()
+
CLOCK_FREQ
/
2
);
&
p_sys
->
p_current_stream
->
chunks_lock
,
mdate
()
+
CLOCK_FREQ
/
2
);
}
}
...
...
modules/stream_filter/smooth/smooth.h
View file @
d8f4b5c3
...
@@ -133,7 +133,6 @@ struct stream_sys_t
...
@@ -133,7 +133,6 @@ struct stream_sys_t
}
init
;
}
init
;
vlc_mutex_t
lock
;
vlc_mutex_t
lock
;
vlc_cond_t
wait
;
/* some condition to wait on */
vlc_cond_t
wait
;
/* some condition to wait on */
bool
b_underrun
;
/* did we ran out of data recently */
}
playback
;
}
playback
;
/* state */
/* state */
...
...
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