Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
ffmpeg2theora
Commits
f3aa78b0
Commit
f3aa78b0
authored
Oct 03, 2009
by
Jan Gerber
Browse files
use fps from --inputfps to overwrite value read from file(again)
parent
61470e1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ffmpeg2theora.c
View file @
f3aa78b0
...
...
@@ -543,8 +543,11 @@ void ff2theora_output(ff2theora this) {
if
(
fps
>
10000
)
fps
/=
1000
;
if
(
this
->
force_input_fps
.
num
>
0
)
if
(
this
->
force_input_fps
.
num
>
0
)
{
fps
=
(
double
)
this
->
force_input_fps
.
num
/
this
->
force_input_fps
.
den
;
vstream_fps
.
num
=
this
->
force_input_fps
.
num
;
vstream_fps
.
den
=
this
->
force_input_fps
.
den
;
}
if
(
vcodec
==
NULL
||
avcodec_open
(
venc
,
vcodec
)
<
0
)
{
this
->
video_index
=
-
1
;
}
...
...
Write
Preview
Supports
Markdown
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