aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-09 13:56:36 +0200
committerAnton Khirnov <anton@khirnov.net>2011-08-16 06:20:43 +0200
commit64db1a82d663958593f66ff7bf351d6a670e51a4 (patch)
treee209ab3b098935cfb00c135211904ea878e45a58 /avconv.c
parentf4ad238c6c696f021e53eae8f255c2d1b79fefbb (diff)
downloadffmpeg-64db1a82d663958593f66ff7bf351d6a670e51a4.tar.gz
lavc: add audio flag to the 'b' option, deprecate 'ab'.
Its only reason for its existence was ffmpeg's inability to properly assign AVOptions to streams. Now this is not a problem anymore, so 'ab' should go.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/avconv.c b/avconv.c
index 4341414108..16d6514bd4 100644
--- a/avconv.c
+++ b/avconv.c
@@ -3908,7 +3908,7 @@ static int opt_target(const char *opt, const char *arg)
opt_default("minrate", "1150000");
opt_default("bufsize", "327680"); // 40*1024*8;
- opt_default("ab", "224000");
+ opt_default("b:a", "224000");
audio_sample_rate = 44100;
audio_channels = 2;
@@ -3938,7 +3938,7 @@ static int opt_target(const char *opt, const char *arg)
opt_default("flags", "+scan_offset");
- opt_default("ab", "224000");
+ opt_default("b:a", "224000");
audio_sample_rate = 44100;
opt_default("packetsize", "2324");
@@ -3961,7 +3961,7 @@ static int opt_target(const char *opt, const char *arg)
opt_default("packetsize", "2048"); // from www.mpucoder.com: DVD sectors contain 2048 bytes of data, this is also the size of one pack.
opt_default("muxrate", "10080000"); // from mplex project: data_rate = 1260000. mux_rate = data_rate * 8
- opt_default("ab", "448000");
+ opt_default("b:a", "448000");
audio_sample_rate = 48000;
} else if(!strncmp(arg, "dv", 2)) {