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
b5ebc218
Commit
b5ebc218
authored
Aug 20, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vlc_vout_display: Should use unsigned for height and width.
parent
40e79c38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
include/vlc_vout_display.h
include/vlc_vout_display.h
+5
-5
src/video_output/display.c
src/video_output/display.c
+5
-5
No files found.
include/vlc_vout_display.h
View file @
b5ebc218
...
...
@@ -72,13 +72,13 @@ typedef struct {
const
char
*
title
;
/* Display size */
int
width
;
int
height
;
unsigned
width
;
unsigned
height
;
/* Display SAR */
struct
{
int
num
;
int
den
;
unsigned
num
;
unsigned
den
;
}
sar
;
}
display
;
...
...
@@ -378,7 +378,7 @@ static inline void vout_display_DeleteWindow(vout_display_t *vd,
*
* This asssumes that the picture is already cropped.
*/
VLC_EXPORT
(
void
,
vout_display_GetDefaultDisplaySize
,
(
int
*
width
,
int
*
height
,
const
video_format_t
*
source
,
const
vout_display_cfg_t
*
)
);
VLC_EXPORT
(
void
,
vout_display_GetDefaultDisplaySize
,
(
unsigned
*
width
,
unsigned
*
height
,
const
video_format_t
*
source
,
const
vout_display_cfg_t
*
)
);
/**
...
...
src/video_output/display.c
View file @
b5ebc218
...
...
@@ -165,7 +165,7 @@ static void vout_display_Manage(vout_display_t *vd)
}
/* */
void
vout_display_GetDefaultDisplaySize
(
int
*
width
,
int
*
height
,
void
vout_display_GetDefaultDisplaySize
(
unsigned
*
width
,
unsigned
*
height
,
const
video_format_t
*
source
,
const
vout_display_cfg_t
*
cfg
)
{
...
...
@@ -204,10 +204,10 @@ void vout_display_PlacePicture(vout_display_place_t *place,
return
;
/* */
int
width
;
int
height
;
int
display_width
;
int
display_height
;
unsigned
width
;
unsigned
height
;
unsigned
display_width
;
unsigned
display_height
;
if
(
cfg
->
is_display_filled
)
{
width
=
source
->
i_visible_width
;
...
...
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