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
b8fc3875
Commit
b8fc3875
authored
Feb 14, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded VOUT_CLOSE.
parent
6021d023
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
17 deletions
+2
-17
include/vlc_vout.h
include/vlc_vout.h
+0
-1
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+0
-1
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
+0
-1
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+2
-6
modules/video_output/omapfb.c
modules/video_output/omapfb.c
+0
-1
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+0
-7
No files found.
include/vlc_vout.h
View file @
b8fc3875
...
...
@@ -705,7 +705,6 @@ enum output_query_e
VOUT_SET_SIZE
,
/* arg1= unsigned int, arg2= unsigned int, res= */
VOUT_SET_STAY_ON_TOP
,
/* arg1= bool res= */
VOUT_REPARENT
,
VOUT_CLOSE
,
VOUT_SET_FOCUS
,
/* arg1= bool res= */
VOUT_SET_VIEWPORT
,
/* arg1= view rect, arg2=clip rect, res= */
VOUT_REDRAW_RECT
,
/* arg1= area rect, res= */
...
...
modules/gui/macosx/voutgl.m
View file @
b8fc3875
...
...
@@ -275,7 +275,6 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
[
p_vout
->
p_sys
->
o_vout_view
setOnTop
:
b_arg
];
return
VLC_SUCCESS
;
case
VOUT_CLOSE
:
case
VOUT_REPARENT
:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
...
...
modules/gui/minimal_macosx/VLCOpenGLVoutView.m
View file @
b8fc3875
...
...
@@ -151,7 +151,6 @@ int cocoaglvoutviewControl( vout_thread_t *p_vout, int i_query, va_list args )
[[
p_vout
->
p_sys
->
o_glview
container
]
setOnTop
:
b_arg
];
return
VLC_SUCCESS
;
case
VOUT_CLOSE
:
case
VOUT_REPARENT
:
default:
return
vout_vaControlDefault
(
p_vout
,
i_query
,
args
);
...
...
modules/video_output/msw/events.c
View file @
b8fc3875
...
...
@@ -1075,8 +1075,6 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
return
VLC_SUCCESS
;
case
VOUT_CLOSE
:
ShowWindow
(
p_vout
->
p_sys
->
hwnd
,
SW_HIDE
);
case
VOUT_REPARENT
:
/* Retrieve the window position */
point
.
x
=
point
.
y
=
0
;
...
...
@@ -1094,8 +1092,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
p_vout
->
p_sys
->
i_window_style
=
WS_CLIPCHILDREN
|
WS_OVERLAPPEDWINDOW
|
WS_SIZEBOX
;
SetWindowLong
(
p_vout
->
p_sys
->
hwnd
,
GWL_STYLE
,
p_vout
->
p_sys
->
i_window_style
|
(
i_query
==
VOUT_CLOSE
?
0
:
WS_VISIBLE
)
);
p_vout
->
p_sys
->
i_window_style
|
WS_VISIBLE
);
SetWindowLong
(
p_vout
->
p_sys
->
hwnd
,
GWL_EXSTYLE
,
WS_EX_APPWINDOW
);
SetWindowPos
(
p_vout
->
p_sys
->
hwnd
,
0
,
point
.
x
,
point
.
y
,
0
,
0
,
SWP_NOSIZE
|
SWP_NOZORDER
|
SWP_FRAMECHANGED
);
...
...
@@ -1109,8 +1106,7 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
SetParent
(
p_vout
->
p_sys
->
hwnd
,
d
);
p_vout
->
p_sys
->
i_window_style
=
WS_CLIPCHILDREN
;
SetWindowLong
(
p_vout
->
p_sys
->
hwnd
,
GWL_STYLE
,
p_vout
->
p_sys
->
i_window_style
|
(
i_query
==
VOUT_CLOSE
?
0
:
WS_VISIBLE
)
);
p_vout
->
p_sys
->
i_window_style
|
WS_VISIBLE
);
SetWindowLong
(
p_vout
->
p_sys
->
hwnd
,
GWL_EXSTYLE
,
WS_EX_APPWINDOW
);
/* Retrieve the parent size */
...
...
modules/video_output/omapfb.c
View file @
b8fc3875
...
...
@@ -376,7 +376,6 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
switch
(
i_query
)
{
case
VOUT_REPARENT
:
case
VOUT_CLOSE
:
vout_ReleaseWindow
(
p_vout
->
p_sys
->
owner_window
);
return
VLC_SUCCESS
;
default:
...
...
modules/video_output/x11/xcommon.c
View file @
b8fc3875
...
...
@@ -3183,13 +3183,6 @@ static int Control( vout_thread_t *p_vout, int i_query, va_list args )
vlc_mutex_unlock
(
&
p_vout
->
p_sys
->
lock
);
return
VLC_SUCCESS
;
case
VOUT_CLOSE
:
vlc_mutex_lock
(
&
p_vout
->
p_sys
->
lock
);
XUnmapWindow
(
p_vout
->
p_sys
->
p_display
,
p_vout
->
p_sys
->
original_window
.
base_window
);
vlc_mutex_unlock
(
&
p_vout
->
p_sys
->
lock
);
/* Fall through */
case
VOUT_REPARENT
:
vlc_mutex_lock
(
&
p_vout
->
p_sys
->
lock
);
if
(
i_query
==
VOUT_REPARENT
)
d
=
(
Drawable
)
va_arg
(
args
,
int
);
...
...
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