Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
ffmpeg2theora
Commits
fae2260f
Commit
fae2260f
authored
Dec 04, 2009
by
Jan Gerber
Browse files
remove ignoring of pixel aspect ratios near 1.0
parent
12ea27aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ffmpeg2theora.c
View file @
fae2260f
...
...
@@ -767,13 +767,6 @@ void ff2theora_output(ff2theora this) {
}
}
if
((
float
)
this
->
aspect_numerator
/
this
->
aspect_denominator
<
1
.
09
)
{
this
->
aspect_numerator
=
1
;
this
->
aspect_denominator
=
1
;
frame_aspect
=
(
float
)(
this
->
aspect_numerator
*
this
->
picture_width
)
/
(
this
->
aspect_denominator
*
this
->
picture_height
);
}
if
(
!
(
info
.
twopass
==
3
&&
info
.
passno
==
2
)
&&
!
info
.
frontend
&&
this
->
aspect_denominator
&&
frame_aspect
)
{
fprintf
(
stderr
,
" Pixel Aspect Ratio: %.2f/1 "
,(
float
)
this
->
aspect_numerator
/
this
->
aspect_denominator
);
...
...
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