Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
4d37034c
Commit
4d37034c
authored
May 14, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSW vouts: fix warnings
parent
607d0272
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
7 deletions
+12
-7
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+3
-2
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+6
-2
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+1
-1
modules/video_output/msw/events.h
modules/video_output/msw/events.h
+1
-1
modules/video_output/msw/wingdi.c
modules/video_output/msw/wingdi.c
+1
-1
No files found.
modules/video_output/msw/common.c
View file @
4d37034c
...
...
@@ -290,11 +290,12 @@ static void CommonChangeThumbnailClip(vout_display_t *vd, bool show)
CoInitialize
(
0
);
LPTASKBARLIST3
taskbl
;
void
*
ptr
;
if
(
S_OK
==
CoCreateInstance
(
&
clsid_ITaskbarList
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_ITaskbarList3
,
&
taskbl
))
{
&
ptr
))
{
LPTASKBARLIST3
taskbl
=
ptr
;
taskbl
->
vt
->
HrInit
(
taskbl
);
HWND
hroot
=
GetAncestor
(
sys
->
hwnd
,
GA_ROOT
);
...
...
modules/video_output/msw/directx.c
View file @
4d37034c
...
...
@@ -602,8 +602,9 @@ static int DirectXOpenDDraw(vout_display_t *vd)
}
/* Get the IDirectDraw2 interface */
void
*
ptr
;
hr
=
IDirectDraw_QueryInterface
(
ddobject
,
&
IID_IDirectDraw2
,
&
sys
->
ddobject
);
&
ptr
);
/* Release the unused interface */
IDirectDraw_Release
(
ddobject
);
...
...
@@ -612,6 +613,7 @@ static int DirectXOpenDDraw(vout_display_t *vd)
sys
->
ddobject
=
NULL
;
return
VLC_EGENERIC
;
}
sys
->
ddobject
=
ptr
;
/* Set DirectDraw Cooperative level, ie what control we want over Windows
* display */
...
...
@@ -783,8 +785,9 @@ static int DirectXOpenDisplay(vout_display_t *vd)
return
VLC_EGENERIC
;
}
void
*
ptr
;
hr
=
IDirectDrawSurface_QueryInterface
(
display
,
&
IID_IDirectDrawSurface2
,
&
sys
->
display
);
&
ptr
);
/* Release the old interface */
IDirectDrawSurface_Release
(
display
);
...
...
@@ -793,6 +796,7 @@ static int DirectXOpenDisplay(vout_display_t *vd)
sys
->
display
=
NULL
;
return
VLC_EGENERIC
;
}
sys
->
display
=
ptr
;
/* The clipper will be used only in non-overlay mode */
DirectXCreateClipper
(
vd
);
...
...
modules/video_output/msw/events.c
View file @
4d37034c
...
...
@@ -1011,7 +1011,7 @@ int EventThreadGetWindowStyle( event_thread_t *p_event )
void
EventThreadUpdateWindowPosition
(
event_thread_t
*
p_event
,
bool
*
pb_moved
,
bool
*
pb_resized
,
int
x
,
int
y
,
int
w
,
int
h
)
int
x
,
int
y
,
unsigned
w
,
unsigned
h
)
{
vlc_mutex_lock
(
&
p_event
->
lock
);
*
pb_moved
=
x
!=
p_event
->
wnd_cfg
.
x
||
...
...
modules/video_output/msw/events.h
View file @
4d37034c
...
...
@@ -53,7 +53,7 @@ void EventThreadMouseHide( event_thread_t * );
void
EventThreadUpdateTitle
(
event_thread_t
*
,
const
char
*
psz_fallback
);
int
EventThreadGetWindowStyle
(
event_thread_t
*
);
void
EventThreadUpdateWindowPosition
(
event_thread_t
*
,
bool
*
pb_moved
,
bool
*
pb_resized
,
int
x
,
int
y
,
int
w
,
int
h
);
int
x
,
int
y
,
unsigned
w
,
unsigned
h
);
void
EventThreadUpdateSourceAndPlace
(
event_thread_t
*
p_event
,
const
video_format_t
*
p_source
,
const
vout_display_place_t
*
p_place
);
...
...
modules/video_output/msw/wingdi.c
View file @
4d37034c
...
...
@@ -345,7 +345,7 @@ static int Init(vout_display_t *vd,
fmt
->
i_width
=
width
;
fmt
->
i_height
=
height
;
uint8_t
*
p_pic_buffer
;
void
*
p_pic_buffer
;
int
i_pic_pitch
;
#ifdef MODULE_NAME_IS_wingapi
GXOpenDisplay
(
sys
->
hvideownd
,
GX_FULLSCREEN
);
...
...
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