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
4786038b
Commit
4786038b
authored
Jul 09, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smooth: remove logical no-op
parent
d8f4b5c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
modules/stream_filter/smooth/smooth.c
modules/stream_filter/smooth/smooth.c
+0
-8
No files found.
modules/stream_filter/smooth/smooth.c
View file @
4786038b
...
@@ -540,11 +540,8 @@ static int Open( vlc_object_t *p_this )
...
@@ -540,11 +540,8 @@ static int Open( vlc_object_t *p_this )
s
->
pf_peek
=
Peek
;
s
->
pf_peek
=
Peek
;
s
->
pf_control
=
Control
;
s
->
pf_control
=
Control
;
vlc_mutex_lock
(
&
p_sys
->
playback
.
lock
);
if
(
vlc_clone
(
&
p_sys
->
download
.
thread
,
sms_Thread
,
s
,
VLC_THREAD_PRIORITY_INPUT
)
)
if
(
vlc_clone
(
&
p_sys
->
download
.
thread
,
sms_Thread
,
s
,
VLC_THREAD_PRIORITY_INPUT
)
)
{
{
vlc_mutex_unlock
(
&
p_sys
->
playback
.
lock
);
SysCleanup
(
p_sys
);
SysCleanup
(
p_sys
);
vlc_mutex_destroy
(
&
p_sys
->
lock
);
vlc_mutex_destroy
(
&
p_sys
->
lock
);
vlc_cond_destroy
(
&
p_sys
->
download
.
wait
);
vlc_cond_destroy
(
&
p_sys
->
download
.
wait
);
...
@@ -554,11 +551,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -554,11 +551,6 @@ static int Open( vlc_object_t *p_this )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
/* avoid race condition where the first init chunk isn't there yet
and a non waiting get_chunk() is done (would return empty stream)*/
vlc_cond_wait
(
&
p_sys
->
playback
.
wait
,
&
p_sys
->
playback
.
lock
);
vlc_mutex_unlock
(
&
p_sys
->
playback
.
lock
);
return
VLC_SUCCESS
;
return
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