Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b71389cb
Commit
b71389cb
authored
Aug 20, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avienc: saner default audio codec.
libmp3lame if available, ac3 otherwise.
parent
3436c4a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
avienc.c
libavformat/avienc.c
+5
-1
lavf-regression.sh
tests/lavf-regression.sh
+1
-1
No files found.
libavformat/avienc.c
View file @
b71389cb
...
...
@@ -644,7 +644,11 @@ AVOutputFormat ff_avi_muxer = {
.
mime_type
=
"video/x-msvideo"
,
.
extensions
=
"avi"
,
.
priv_data_size
=
sizeof
(
AVIContext
),
.
audio_codec
=
CODEC_ID_MP2
,
#if CONFIG_LIBMP3LAME_ENCODER
.
audio_codec
=
CODEC_ID_MP3
,
#else
.
audio_codec
=
CODEC_ID_AC3
,
#endif
.
video_codec
=
CODEC_ID_MPEG4
,
.
write_header
=
avi_write_header
,
.
write_packet
=
avi_write_packet
,
...
...
tests/lavf-regression.sh
View file @
b71389cb
...
...
@@ -44,7 +44,7 @@ do_audio_only()
}
if
[
-n
"
$do_avi
"
]
;
then
do_lavf avi
do_lavf avi
"-acodec mp2"
fi
if
[
-n
"
$do_asf
"
]
;
then
...
...
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