Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
de688523
Commit
de688523
authored
Aug 25, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an incorect cast warning
parent
d654665b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+2
-2
No files found.
modules/video_output/msw/directx.c
View file @
de688523
...
...
@@ -722,9 +722,9 @@ static void FirstDisplay( vout_thread_t *p_vout, picture_t *p_pic )
if
(
p_vout
->
p_sys
->
b_using_overlay
)
{
HBRUSH
brush
=
CreateSolidBrush
(
p_vout
->
p_sys
->
i_rgb_colorkey
);
/* set the colorkey as the backgound brush for the video window */
SetClassLongPtr
(
p_vout
->
p_sys
->
hvideownd
,
GCLP_HBRBACKGROUND
,
(
LONG_PTR
)
CreateSolidBrush
(
p_vout
->
p_sys
->
i_rgb_colorkey
)
);
SetClassLongPtr
(
p_vout
->
p_sys
->
hvideownd
,
GCLP_HBRBACKGROUND
,
(
LONG_PTR
)
brush
);
}
/*
** Video window is initially hidden, show it now since we got a
...
...
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