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
8e0a2de2
Commit
8e0a2de2
authored
Feb 01, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skins2: partial vout window fixes
This remains seemingly badly unsafe
parent
4417073e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/gui/skins2/src/skin_main.cpp
modules/gui/skins2/src/skin_main.cpp
+6
-2
No files found.
modules/gui/skins2/src/skin_main.cpp
View file @
8e0a2de2
...
...
@@ -302,7 +302,7 @@ static int WindowOpen( vlc_object_t *p_this )
/* FIXME: most probably not thread-safe,
* albeit no worse than ever before */
pWnd
->
handle
=
VlcProc
::
getWindow
(
pIntf
,
pWnd
->
vout
,
pWnd
->
handle
.
hwnd
=
VlcProc
::
getWindow
(
pIntf
,
pWnd
->
vout
,
&
pWnd
->
pos_x
,
&
pWnd
->
pos_y
,
&
pWnd
->
width
,
&
pWnd
->
height
);
pWnd
->
p_private
=
pIntf
;
...
...
@@ -506,7 +506,11 @@ vlc_module_begin ()
add_shortcut
(
"skins"
)
add_submodule
()
set_capability
(
"vout_window"
,
51
)
#ifndef WIN32
set_capability
(
"xwindow"
,
51
)
#else
set_capability
(
"hwnd"
,
51
)
#endif
set_callbacks
(
WindowOpen
,
WindowClose
)
add_submodule
()
...
...
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