Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9a6e6302
Commit
9a6e6302
authored
Jun 05, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed useless date check when using vlc_cond_timedwait.
parent
d527cc03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/video_output/vout_intf.c
src/video_output/vout_intf.c
+4
-4
No files found.
src/video_output/vout_intf.c
View file @
9a6e6302
...
...
@@ -696,11 +696,11 @@ int vout_GetSnapshot( vout_thread_t *p_vout,
p_sys
->
snapshot
.
i_request
++
;
const
mtime_t
i_deadline
=
mdate
()
+
i_timeout
;
while
(
p_sys
->
snapshot
.
b_available
&&
!
p_sys
->
snapshot
.
p_picture
&&
mdate
()
<
i_deadline
)
while
(
p_sys
->
snapshot
.
b_available
&&
!
p_sys
->
snapshot
.
p_picture
)
{
vlc_cond_timedwait
(
&
p_sys
->
snapshot
.
wait
,
&
p_sys
->
snapshot
.
lock
,
i_deadline
);
if
(
vlc_cond_timedwait
(
&
p_sys
->
snapshot
.
wait
,
&
p_sys
->
snapshot
.
lock
,
i_deadline
)
)
break
;
}
picture_t
*
p_picture
=
p_sys
->
snapshot
.
p_picture
;
...
...
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