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
a9c7d811
Commit
a9c7d811
authored
Sep 16, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use new API too
parent
a9934068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/control/mediacontrol_audio_video.c
src/control/mediacontrol_audio_video.c
+3
-3
No files found.
src/control/mediacontrol_audio_video.c
View file @
a9c7d811
...
...
@@ -78,13 +78,13 @@ mediacontrol_snapshot( mediacontrol_Instance *self,
var_SetString
(
p_vout
,
"snapshot-path"
,
path
);
var_SetString
(
p_vout
,
"snapshot-format"
,
"png"
);
vlc_
mutex_lock
(
&
p_cache
->
object_lock
);
vlc_
object_lock
(
p_cache
);
vout_Control
(
p_vout
,
VOUT_SNAPSHOT
);
vlc_
cond_wait
(
&
p_cache
->
object_wait
,
&
p_cache
->
object_lock
);
vlc_
object_wait
(
p_cache
);
vlc_object_release
(
p_vout
);
p_snapshot
=
(
snapshot_t
*
)
p_cache
->
p_private
;
vlc_
mutex_unlock
(
&
p_cache
->
object_lock
);
vlc_
object_unlock
(
p_cache
);
vlc_object_destroy
(
p_cache
);
if
(
p_snapshot
)
...
...
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