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
971ddef7
Commit
971ddef7
authored
Sep 26, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated after direct rendering support in vout_FilterDisplay.
parent
654d8a72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
modules/video_output/wrapper.c
modules/video_output/wrapper.c
+4
-10
No files found.
modules/video_output/wrapper.c
View file @
971ddef7
...
...
@@ -416,21 +416,15 @@ static void Render(vout_thread_t *vout, picture_t *picture)
vout_display_t
*
vd
=
sys
->
vd
;
assert
(
sys
->
use_dr
||
!
picture
->
p_sys
->
direct
);
assert
(
vout_IsDisplayFiltered
(
vd
)
==
!
sys
->
use_dr
);
if
(
sys
->
use_dr
)
{
assert
(
!
vout_IsDisplayFiltered
(
vd
));
assert
(
picture
->
p_sys
->
direct
);
vout_display_Prepare
(
vd
,
picture
->
p_sys
->
direct
);
}
else
{
picture_t
*
filtered
=
vout_FilterDisplay
(
vd
,
picture
);
if
(
filtered
)
{
picture_t
*
direct
=
picture
->
p_sys
->
direct
=
vout_display_Get
(
vd
);
if
(
direct
)
{
picture_Copy
(
direct
,
filtered
);
vout_display_Prepare
(
vd
,
direct
);
}
picture_Release
(
filtered
);
picture_t
*
direct
=
picture
->
p_sys
->
direct
=
vout_FilterDisplay
(
vd
,
picture
);
if
(
direct
)
{
vout_display_Prepare
(
vd
,
direct
);
}
}
}
...
...
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