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
0b220edc
Commit
0b220edc
authored
Mar 06, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: use video-x and video-y (fixes #3215)
parent
3c2a866a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+2
-2
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+2
-2
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+1
-1
No files found.
modules/video_output/msw/common.c
View file @
0b220edc
...
...
@@ -100,8 +100,8 @@ int CommonInit(vout_display_t *vd)
cfg
.
use_overlay
=
sys
->
use_overlay
;
#endif
cfg
.
win
.
type
=
VOUT_WINDOW_TYPE_HWND
;
cfg
.
win
.
x
=
0
;
cfg
.
win
.
y
=
0
;
cfg
.
win
.
x
=
var_InheritInteger
(
vd
,
"video-x"
)
;
cfg
.
win
.
y
=
var_InheritInteger
(
vd
,
"video-y"
)
;
cfg
.
win
.
width
=
vd
->
cfg
->
display
.
width
;
cfg
.
win
.
height
=
vd
->
cfg
->
display
.
height
;
...
...
modules/video_output/msw/direct3d.c
View file @
0b220edc
...
...
@@ -144,9 +144,9 @@ static int Open(vlc_object_t *object)
sys
->
allow_hw_yuv
=
var_CreateGetBool
(
vd
,
"directx-hw-yuv"
);
sys
->
desktop_save
.
is_fullscreen
=
vd
->
cfg
->
is_fullscreen
;
sys
->
desktop_save
.
is_on_top
=
false
;
sys
->
desktop_save
.
win
.
left
=
0
;
sys
->
desktop_save
.
win
.
left
=
var_InheritInteger
(
vd
,
"video-x"
)
;
sys
->
desktop_save
.
win
.
right
=
vd
->
cfg
->
display
.
width
;
sys
->
desktop_save
.
win
.
top
=
0
;
sys
->
desktop_save
.
win
.
top
=
var_InheritInteger
(
vd
,
"video-y"
)
;
sys
->
desktop_save
.
win
.
bottom
=
vd
->
cfg
->
display
.
height
;
if
(
CommonInit
(
vd
))
...
...
modules/video_output/msw/events.c
View file @
0b220edc
...
...
@@ -507,8 +507,8 @@ static int DirectXCreateWindow( event_thread_t *p_event )
* have. Unfortunatly these dimensions will include the borders and
* titlebar. We use the following function to find out the size of
* the window corresponding to the useable surface we want */
rect_window
.
top
=
10
;
rect_window
.
left
=
10
;
rect_window
.
top
=
10
;
rect_window
.
right
=
rect_window
.
left
+
p_event
->
wnd_cfg
.
width
;
rect_window
.
bottom
=
rect_window
.
top
+
p_event
->
wnd_cfg
.
height
;
...
...
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