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
1c7d467f
Commit
1c7d467f
authored
Nov 15, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed snapshot while video is paused.
parent
4ec42b9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
src/video_output/video_output.c
src/video_output/video_output.c
+7
-4
No files found.
src/video_output/video_output.c
View file @
1c7d467f
...
...
@@ -1108,11 +1108,9 @@ static void* RunThread( vlc_object_t *p_this )
p_filtered_picture
=
filter_chain_VideoFilter
(
p_vout
->
p
->
p_vf2_chain
,
p_picture
);
/* FIXME it is
a bit
ugly that b_snapshot is not locked but I do not
/* FIXME it is ugly that b_snapshot is not locked but I do not
* know which lock to use (here and in the snapshot callback) */
const
bool
b_snapshot
=
p_vout
->
p
->
b_snapshot
;
if
(
b_snapshot
)
p_vout
->
p
->
b_snapshot
=
false
;
const
bool
b_snapshot
=
p_vout
->
p
->
b_snapshot
&&
p_picture
!=
NULL
;
/*
* Check for subpictures to display
...
...
@@ -1133,7 +1131,12 @@ static void* RunThread( vlc_object_t *p_this )
* Take a snapshot if requested
*/
if
(
p_directbuffer
&&
b_snapshot
)
{
/* FIXME lock (see b_snapshot) */
p_vout
->
p
->
b_snapshot
=
false
;
vout_Snapshot
(
p_vout
,
p_directbuffer
);
}
/*
* Call the plugin-specific rendering method if there is one
...
...
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