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
4c11fc9f
Commit
4c11fc9f
authored
Sep 14, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gl: fix changing window size
parent
dd617036
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
modules/video_output/gl.c
modules/video_output/gl.c
+4
-10
No files found.
modules/video_output/gl.c
View file @
4c11fc9f
...
...
@@ -262,17 +262,11 @@ static int Control (vout_display_t *vd, int query, va_list ap)
const
vout_display_cfg_t
*
c
=
va_arg
(
ap
,
const
vout_display_cfg_t
*
);
const
video_format_t
*
src
=
&
vd
->
source
;
if
(
query
==
VOUT_DISPLAY_CHANGE_DISPLAY_SIZE
)
if
(
query
==
VOUT_DISPLAY_CHANGE_DISPLAY_SIZE
&&
va_arg
(
ap
,
int
)
)
{
bool
force
=
false
;
force
=
va_arg
(
ap
,
int
);
if
(
force
&&
(
c
->
display
.
width
!=
vd
->
cfg
->
display
.
width
||
c
->
display
.
height
!=
vd
->
cfg
->
display
.
height
)
&&
vout_window_SetSize
(
sys
->
gl
->
surface
,
c
->
display
.
width
,
c
->
display
.
height
))
return
VLC_EGENERIC
;
vout_window_SetSize
(
sys
->
gl
->
surface
,
c
->
display
.
width
,
c
->
display
.
height
);
return
VLC_EGENERIC
;
}
vout_display_place_t
place
;
...
...
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