Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d9319dc8
Commit
d9319dc8
authored
May 17, 2013
by
KO Myung-Hun
Committed by
Rafaël Carré
May 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kva: remove obsolete workaround
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
86164df0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
modules/video_output/kva.c
modules/video_output/kva.c
+0
-16
No files found.
modules/video_output/kva.c
View file @
d9319dc8
...
...
@@ -194,13 +194,6 @@ static void PMThread( void *arg )
{
sys
->
parent
=
(
HWND
)
sys
->
parent_window
->
handle
.
hwnd
;
/* Workaround :
* When an embedded window opened first, it is not positioned
* correctly. So reposition it here, again.
*/
WinSetWindowPos
(
WinQueryWindow
(
sys
->
parent
,
QW_PARENT
),
HWND_TOP
,
0
,
0
,
0
,
0
,
SWP_MOVE
);
ULONG
i_style
=
WinQueryWindowULong
(
sys
->
parent
,
QWL_STYLE
);
WinSetWindowULong
(
sys
->
parent
,
QWL_STYLE
,
i_style
|
WS_CLIPCHILDREN
);
...
...
@@ -496,15 +489,6 @@ static int Control( vout_display_t *vd, int query, va_list args )
{
vout_window_SetSize
(
sys
->
parent_window
,
cfg
->
display
.
width
,
cfg
->
display
.
height
);
/* Workaround :
* If changing aspect ratio after resizing a main window,
* an embedded window is misplaced. So reposition it, here.
*/
WinSetWindowPos
(
WinQueryWindow
(
sys
->
parent
,
QW_PARENT
),
HWND_TOP
,
0
,
1
,
0
,
0
,
SWP_MOVE
);
WinSetWindowPos
(
WinQueryWindow
(
sys
->
parent
,
QW_PARENT
),
HWND_TOP
,
0
,
0
,
0
,
0
,
SWP_MOVE
);
}
else
WinPostMsg
(
sys
->
client
,
WM_VLC_SIZE_CHANGE
,
...
...
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