Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
25d33b29
Commit
25d33b29
authored
Jan 03, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed vout display module wrapper with locked/unlocked picture pool.
parent
c60c9a9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/video_output/wrapper.c
modules/video_output/wrapper.c
+8
-1
No files found.
modules/video_output/wrapper.c
View file @
25d33b29
...
...
@@ -512,8 +512,15 @@ static void Display(vout_thread_t *vout, picture_t *picture)
vout_display_Display
(
vd
,
direct
);
if
(
!
sys
->
use_dr
)
if
(
sys
->
use_dr
)
{
for
(
int
i
=
0
;
i
<
picture
->
i_planes
;
i
++
)
{
picture
->
p
[
i
].
p_pixels
=
direct
->
p
[
i
].
p_pixels
;
picture
->
p
[
i
].
i_pitch
=
direct
->
p
[
i
].
i_pitch
;
picture
->
p
[
i
].
i_lines
=
direct
->
p
[
i
].
i_lines
;
}
}
else
{
picture
->
p_sys
->
direct
=
NULL
;
}
}
static
void
VoutGetDisplayCfg
(
vout_thread_t
*
vout
,
vout_display_cfg_t
*
cfg
,
const
char
*
title
)
...
...
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