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
22aa682a
Commit
22aa682a
authored
Feb 07, 2007
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- directx: put the code in the right place ;)
parent
f559d245
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
modules/video_output/directx/directx.c
modules/video_output/directx/directx.c
+8
-6
No files found.
modules/video_output/directx/directx.c
View file @
22aa682a
...
...
@@ -829,6 +829,14 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
msg_Warn
(
p_vout
,
"could not blit surface (error %li)"
,
dxresult
);
return
;
}
else
{
/* if set, remove the black brush to avoid flickering in repaint operations */
if
(
0UL
!=
GetClassLong
(
p_vout
->
p_sys
->
hvideownd
,
GCL_HBRBACKGROUND
)
)
{
SetClassLong
(
p_vout
->
p_sys
->
hvideownd
,
GCL_HBRBACKGROUND
,
(
ULONG
)
0UL
);
}
}
}
else
/* using overlay */
...
...
@@ -857,12 +865,6 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
return
;
}
DirectXUnlockSurface
(
p_vout
,
p_pic
);
/* if set, remove the black brush to avoid flickering in repaint operations */
if
(
0UL
!=
GetClassLong
(
p_vout
->
p_sys
->
hvideownd
,
GCL_HBRBACKGROUND
)
)
{
SetClassLong
(
p_vout
->
p_sys
->
hvideownd
,
GCL_HBRBACKGROUND
,
(
ULONG
)
0UL
);
}
}
}
...
...
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