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
b63c1947
Commit
b63c1947
authored
Mar 21, 2009
by
Jan Gerber
Browse files
do not downmix to 2 channels by default
parent
b980feb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ffmpeg2theora.c
View file @
b63c1947
...
...
@@ -620,10 +620,7 @@ void ff2theora_output(ff2theora this) {
aenc
=
this
->
context
->
streams
[
this
->
audio_index
]
->
codec
;
acodec
=
avcodec_find_decoder
(
aenc
->
codec_id
);
if
(
this
->
channels
<
1
)
{
if
(
aenc
->
channels
>
2
)
this
->
channels
=
2
;
else
this
->
channels
=
aenc
->
channels
;
this
->
channels
=
aenc
->
channels
;
}
if
(
this
->
sample_rate
==-
1
)
{
this
->
sample_rate
=
aenc
->
sample_rate
;
...
...
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