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
e70c331e
Commit
e70c331e
authored
Aug 18, 2008
by
Olivier Aubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
in-memory snapshot: use vlc_object_signal instead of vlc_object_signal_maybe
parent
440d9541
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 @
e70c331e
...
...
@@ -514,7 +514,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
{
msg_Err
(
p_vout
,
"Could not get snapshot"
);
image_HandlerDelete
(
p_image
);
vlc_object_signal
_maybe
(
VLC_OBJECT
(
p_dest
)
);
vlc_object_signal
(
p_dest
);
vlc_object_release
(
p_dest
);
return
VLC_EGENERIC
;
}
...
...
@@ -526,7 +526,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
{
block_Release
(
p_block
);
image_HandlerDelete
(
p_image
);
vlc_object_signal
_maybe
(
VLC_OBJECT
(
p_dest
)
);
vlc_object_signal
(
p_dest
);
vlc_object_release
(
p_dest
);
return
VLC_ENOMEM
;
}
...
...
@@ -543,7 +543,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
block_Release
(
p_block
);
free
(
p_snapshot
);
image_HandlerDelete
(
p_image
);
vlc_object_signal
_maybe
(
VLC_OBJECT
(
p_dest
)
);
vlc_object_signal
(
p_dest
);
vlc_object_release
(
p_dest
);
return
VLC_ENOMEM
;
}
...
...
@@ -554,7 +554,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
block_Release
(
p_block
);
/* Unlock the object */
vlc_object_signal
_maybe
(
VLC_OBJECT
(
p_dest
)
);
vlc_object_signal
(
p_dest
);
vlc_object_release
(
p_dest
);
image_HandlerDelete
(
p_image
);
...
...
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