Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3b4b253f
Commit
3b4b253f
authored
Dec 08, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: check for Windows window system backend rather than platform
parent
74784641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+5
-3
No files found.
modules/gui/qt4/qt4.cpp
View file @
3b4b253f
...
...
@@ -243,11 +243,11 @@ vlc_module_begin ()
set_callbacks
(
OpenDialogs
,
Close
)
#if defined(Q_WS_X11) || defined(
WIN32
)
#if defined(Q_WS_X11) || defined(
Q_WS_WIN
)
add_submodule
()
#if defined(Q_WS_X11)
set_capability
(
"vout window xid"
,
50
)
#elif defined(
WIN32
)
#elif defined(
Q_WS_WIN
)
set_capability
(
"vout window hwnd"
,
50
)
#endif
set_callbacks
(
WindowOpen
,
WindowClose
)
...
...
@@ -532,10 +532,12 @@ static int WindowOpen( vlc_object_t *p_obj )
if
(
!
p_wnd
->
xid
)
return
VLC_EGENERIC
;
#elif defined (
WIN32
)
#elif defined (
Q_WS_WIN
)
p_wnd
->
hwnd
=
p_mi
->
getVideo
(
&
i_x
,
&
i_y
,
&
i_width
,
&
i_height
);
if
(
!
p_wnd
->
hwnd
)
return
VLC_EGENERIC
;
#else
# error FIXME
#endif
p_wnd
->
control
=
WindowControl
;
...
...
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