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
600ac6c9
Commit
600ac6c9
authored
Jan 05, 2006
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
directx.c: some improvement on overlay initial grey flickering
parent
61bf3204
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/video_output/directx/directx.c
modules/video_output/directx/directx.c
+6
-1
No files found.
modules/video_output/directx/directx.c
View file @
600ac6c9
...
...
@@ -851,6 +851,12 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
*/
static
void
OverlayDisplay
(
vout_thread_t
*
p_vout
,
picture_t
*
p_pic
)
{
/* get initial picture rendered on overlay surface */
Display
(
p_vout
,
p_pic
);
IDirectDraw_WaitForVerticalBlank
(
p_vout
->
p_sys
->
p_ddobject
,
DDWAITVB_BLOCKBEGIN
,
NULL
);
/* set the colorkey as the backgound brush for the video window */
SetClassLong
(
p_vout
->
p_sys
->
hvideownd
,
GCL_HBRBACKGROUND
,
(
LONG
)
CreateSolidBrush
(
p_vout
->
p_sys
->
i_rgb_colorkey
)
);
...
...
@@ -858,7 +864,6 @@ static void OverlayDisplay( vout_thread_t *p_vout, picture_t *p_pic )
/* use and restores proper display function for further pictures */
p_vout
->
pf_display
=
Display
;
Display
(
p_vout
,
p_pic
);
}
/* following functions are local */
...
...
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