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
66971620
Commit
66971620
authored
Nov 13, 2011
by
KO Myung-Hun
Committed by
Rémi Denis-Courmont
Nov 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'vout window hwnd' support for OS/2
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
714ba1f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+4
-4
No files found.
modules/gui/qt4/qt4.cpp
View file @
66971620
...
@@ -289,11 +289,11 @@ vlc_module_begin ()
...
@@ -289,11 +289,11 @@ vlc_module_begin ()
set_callbacks
(
OpenDialogs
,
Close
)
set_callbacks
(
OpenDialogs
,
Close
)
#if defined(Q_WS_X11) || defined(Q_WS_WIN) || defined(Q_WS_MAC)
#if defined(Q_WS_X11) || defined(Q_WS_WIN) || defined(Q_WS_MAC)
|| defined(Q_WS_PM)
add_submodule
()
add_submodule
()
#if defined(Q_WS_X11)
#if defined(Q_WS_X11)
set_capability
(
"vout window xid"
,
0
)
set_capability
(
"vout window xid"
,
0
)
#elif defined(Q_WS_WIN)
#elif defined(Q_WS_WIN)
|| defined(Q_WS_PM)
set_capability
(
"vout window hwnd"
,
0
)
set_capability
(
"vout window hwnd"
,
0
)
#elif defined(Q_WS_MAC)
#elif defined(Q_WS_MAC)
set_capability
(
"vout window nsobject"
,
0
)
set_capability
(
"vout window nsobject"
,
0
)
...
@@ -626,8 +626,8 @@ static int WindowOpen( vout_window_t *p_wnd, const vout_window_cfg_t *cfg )
...
@@ -626,8 +626,8 @@ static int WindowOpen( vout_window_t *p_wnd, const vout_window_cfg_t *cfg )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
p_wnd
->
display
.
x11
=
NULL
;
p_wnd
->
display
.
x11
=
NULL
;
#elif defined (Q_WS_WIN)
#elif defined (Q_WS_WIN)
|| defined(Q_WS_PM)
p_wnd
->
handle
.
hwnd
=
p_mi
->
getVideo
(
&
i_x
,
&
i_y
,
&
i_width
,
&
i_height
);
p_wnd
->
handle
.
hwnd
=
(
void
*
)
p_mi
->
getVideo
(
&
i_x
,
&
i_y
,
&
i_width
,
&
i_height
);
if
(
!
p_wnd
->
handle
.
hwnd
)
if
(
!
p_wnd
->
handle
.
hwnd
)
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
...
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