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
24655a2d
Commit
24655a2d
authored
Jan 05, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gapi compilation fixes (again).
parent
0f5eea32
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_output/msw/wingdi.c
modules/video_output/msw/wingdi.c
+4
-2
No files found.
modules/video_output/msw/wingdi.c
View file @
24655a2d
...
...
@@ -255,7 +255,7 @@ static int Lock(picture_t *picture)
/* */
GXDisplayProperties
gxdisplayprop
=
GXGetDisplayProperties
();
uint8_t
*
p_pic_buffer
=
GXBeginDraw
();
if
(
!
sys
->
p_pic_buffer
)
{
if
(
!
p_pic_buffer
)
{
msg_Err
(
vd
,
"GXBeginDraw error %d "
,
GetLastError
());
return
VLC_EGENERIC
;
}
...
...
@@ -270,6 +270,8 @@ static int Lock(picture_t *picture)
}
static
void
Unlock
(
picture_t
*
picture
)
{
vout_display_t
*
vd
=
picture
->
p_sys
->
vd
;
GXEndDraw
();
}
#endif
...
...
@@ -411,7 +413,7 @@ static int Init(vout_display_t *vd,
cfg
.
picture
=
&
picture
;
#ifdef MODULE_NAME_IS_wingapi
cfg
.
lock
=
Lock
;
cfg
.
unlock
=
Un
k
ock
;
cfg
.
unlock
=
Un
l
ock
;
#endif
sys
->
pool
=
picture_pool_NewExtended
(
&
cfg
);
}
else
{
...
...
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