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
a1aab370
Commit
a1aab370
authored
Aug 07, 2009
by
Jan Gerber
Browse files
sync with encoder_example@16448
parent
bab920d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ffmpeg2theora.c
View file @
a1aab370
...
...
@@ -1094,7 +1094,7 @@ void ff2theora_output(ff2theora this) {
if
((
this
->
keyint
*
7
>>
1
)
>
5
*
this
->
framerate_new
.
num
/
this
->
framerate_new
.
den
)
arg
=
this
->
keyint
*
7
>>
1
;
else
arg
=
30
*
this
->
framerate_new
.
num
/
this
->
framerate_new
.
den
;
arg
=
5
*
this
->
framerate_new
.
num
/
this
->
framerate_new
.
den
;
ret
=
th_encode_ctl
(
info
.
td
,
TH_ENCCTL_SET_RATE_BUFFER
,
&
arg
,
sizeof
(
arg
));
if
(
ret
<
0
)
fprintf
(
stderr
,
"Could not set rate control buffer for --soft-target
\n
"
);
...
...
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