Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
96fdf2c8
Commit
96fdf2c8
authored
Feb 13, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "vout: assume aspect ratio is 1:1 if information is missing"
This reverts commit
bf5bc83e
. Close #10657
parent
371acd7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/video_output/display.c
src/video_output/display.c
+2
-3
No files found.
src/video_output/display.c
View file @
96fdf2c8
...
...
@@ -1182,9 +1182,8 @@ void vout_SetDisplayAspect(vout_display_t *vd, unsigned dar_num, unsigned dar_de
sar_den
=
dar_den
*
osys
->
source
.
i_visible_width
;
vlc_ureduce
(
&
sar_num
,
&
sar_den
,
sar_num
,
sar_den
,
0
);
}
else
{
/* Assume 1:1 SAR if the information is missing */
sar_num
=
1
;
sar_den
=
1
;
sar_num
=
0
;
sar_den
=
0
;
}
if
(
osys
->
sar
.
num
!=
sar_num
||
osys
->
sar
.
den
!=
sar_den
)
{
...
...
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