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
bc9b4ca6
Commit
bc9b4ca6
authored
Oct 13, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vout: remove redundant fullscreen initialization
parent
80099418
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
4 additions
and
42 deletions
+4
-42
modules/hw/vdpau/display.c
modules/hw/vdpau/display.c
+0
-6
modules/video_output/gl.c
modules/video_output/gl.c
+0
-5
modules/video_output/kva.c
modules/video_output/kva.c
+3
-8
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+1
-1
modules/video_output/wayland/shm.c
modules/video_output/wayland/shm.c
+0
-4
modules/video_output/xcb/glx.c
modules/video_output/xcb/glx.c
+0
-6
modules/video_output/xcb/x11.c
modules/video_output/xcb/x11.c
+0
-6
modules/video_output/xcb/xvideo.c
modules/video_output/xcb/xvideo.c
+0
-6
No files found.
modules/hw/vdpau/display.c
View file @
bc9b4ca6
...
...
@@ -664,12 +664,6 @@ static int Open(vlc_object_t *obj)
vd
->
control
=
Control
;
vd
->
manage
=
Manage
;
/* */
bool
is_fullscreen
=
vd
->
cfg
->
is_fullscreen
;
if
(
is_fullscreen
&&
vout_window_SetFullScreen
(
sys
->
embed
,
true
))
is_fullscreen
=
false
;
vout_display_SendEventFullscreen
(
vd
,
is_fullscreen
);
return
VLC_SUCCESS
;
error:
...
...
modules/video_output/gl.c
View file @
bc9b4ca6
...
...
@@ -150,11 +150,6 @@ static int Open (vlc_object_t *obj)
if
(
sys
->
vgl
==
NULL
)
goto
error
;
bool
fs
=
vd
->
cfg
->
is_fullscreen
;
if
(
vout_window_SetFullScreen
(
sys
->
gl
->
surface
,
fs
))
fs
=
false
;
vout_display_SendEventFullscreen
(
vd
,
fs
);
vd
->
sys
=
sys
;
vd
->
info
.
has_pictures_invalid
=
false
;
vd
->
info
.
has_event_thread
=
false
;
...
...
modules/video_output/kva.c
View file @
bc9b4ca6
...
...
@@ -265,14 +265,9 @@ static void PMThread( void *arg )
goto
exit_open_display
;
}
if
(
vd
->
cfg
->
is_fullscreen
)
{
if
(
sys
->
parent_window
)
vout_window_SetFullScreen
(
sys
->
parent_window
,
true
);
else
WinPostMsg
(
sys
->
client
,
WM_VLC_FULLSCREEN_CHANGE
,
MPFROMLONG
(
true
),
0
);
}
if
(
vd
->
cfg
->
is_fullscreen
&&
!
sys
->
parent_window
)
WinPostMsg
(
sys
->
client
,
WM_VLC_FULLSCREEN_CHANGE
,
MPFROMLONG
(
true
),
0
);
kvaDisableScreenSaver
();
...
...
modules/video_output/msw/common.c
View file @
bc9b4ca6
...
...
@@ -472,7 +472,7 @@ static int CommonControlSetFullscreen(vout_display_t *vd, bool is_fullscreen)
/* */
if
(
sys
->
parent_window
)
return
vout_window_SetFullScreen
(
sys
->
parent_window
,
is_fullscreen
)
;
return
VLC_EGENERIC
;
/* */
HWND
hwnd
=
sys
->
hparent
&&
sys
->
hfswnd
?
sys
->
hfswnd
:
sys
->
hwnd
;
...
...
modules/video_output/wayland/shm.c
View file @
bc9b4ca6
...
...
@@ -466,10 +466,6 @@ static int Open(vlc_object_t *obj)
vd
->
control
=
Control
;
vd
->
manage
=
NULL
;
bool
is_fullscreen
=
vd
->
cfg
->
is_fullscreen
;
if
(
is_fullscreen
&&
vout_window_SetFullScreen
(
sys
->
embed
,
true
))
is_fullscreen
=
false
;
vout_display_SendEventFullscreen
(
vd
,
is_fullscreen
);
return
VLC_SUCCESS
;
error:
...
...
modules/video_output/xcb/glx.c
View file @
bc9b4ca6
...
...
@@ -128,12 +128,6 @@ static int Open (vlc_object_t *obj)
vd
->
control
=
Control
;
vd
->
manage
=
Manage
;
/* */
bool
fs
=
vd
->
cfg
->
is_fullscreen
;
if
(
vout_window_SetFullScreen
(
surface
,
fs
))
fs
=
false
;
vout_display_SendEventFullscreen
(
vd
,
fs
);
return
VLC_SUCCESS
;
error:
...
...
modules/video_output/xcb/x11.c
View file @
bc9b4ca6
...
...
@@ -310,12 +310,6 @@ found_format:;
vd
->
control
=
Control
;
vd
->
manage
=
Manage
;
/* */
bool
is_fullscreen
=
vd
->
cfg
->
is_fullscreen
;
if
(
is_fullscreen
&&
vout_window_SetFullScreen
(
sys
->
embed
,
true
))
is_fullscreen
=
false
;
vout_display_SendEventFullscreen
(
vd
,
is_fullscreen
);
return
VLC_SUCCESS
;
error:
...
...
modules/video_output/xcb/xvideo.c
View file @
bc9b4ca6
...
...
@@ -588,12 +588,6 @@ static int Open (vlc_object_t *obj)
vd
->
control
=
Control
;
vd
->
manage
=
Manage
;
/* */
bool
is_fullscreen
=
vd
->
cfg
->
is_fullscreen
;
if
(
is_fullscreen
&&
vout_window_SetFullScreen
(
p_sys
->
embed
,
true
))
is_fullscreen
=
false
;
vout_display_SendEventFullscreen
(
vd
,
is_fullscreen
);
return
VLC_SUCCESS
;
error:
...
...
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