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
bdc1e216
Commit
bdc1e216
authored
Aug 29, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed invalid video dimensions after int->unsigned changes.
parent
179450e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/video_output/wrapper.c
modules/video_output/wrapper.c
+4
-2
No files found.
modules/video_output/wrapper.c
View file @
bdc1e216
...
...
@@ -438,8 +438,10 @@ static void VoutGetDisplayCfg(vout_thread_t *vout, vout_display_cfg_t *cfg, cons
/* Load configuration */
cfg
->
is_fullscreen
=
var_CreateGetBool
(
vout
,
"fullscreen"
);
cfg
->
display
.
title
=
title
;
cfg
->
display
.
width
=
var_CreateGetInteger
(
vout
,
"width"
);
cfg
->
display
.
height
=
var_CreateGetInteger
(
vout
,
"height"
);
const
int
display_width
=
var_CreateGetInteger
(
vout
,
"width"
);
const
int
display_height
=
var_CreateGetInteger
(
vout
,
"height"
);
cfg
->
display
.
width
=
display_width
>
0
?
display_width
:
0
;
cfg
->
display
.
height
=
display_height
>
0
?
display_height
:
0
;
cfg
->
is_display_filled
=
var_CreateGetBool
(
vout
,
"autoscale"
);
cfg
->
display
.
sar
.
num
=
1
;
/* TODO monitor AR */
cfg
->
display
.
sar
.
den
=
1
;
...
...
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