aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorMark Hills <mark@pogo.org.uk>2002-09-01 18:07:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-01 18:07:56 +0000
commit81e0d0b412e7d3d4ee8cc3a9ac940f60a7b1ae3b (patch)
treef4429f345bf66ef382cc5207aac0ff7c15a8b752 /ffserver.c
parentad324c93515ca4acb43f5973ba67861213ff584d (diff)
downloadffmpeg-81e0d0b412e7d3d4ee8cc3a9ac940f60a7b1ae3b.tar.gz
oggvorbis support patch by (Mark Hills <mark at pogo dot org dot uk>)
Originally committed as revision 896 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 8612765da6..0959273e57 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3665,6 +3665,11 @@ int parse_ffconfig(const char *filename)
if (stream) {
audio_enc.sample_rate = atoi(arg);
}
+ } else if (!strcasecmp(cmd, "AudioQuality")) {
+ get_arg(arg, sizeof(arg), &p);
+ if (stream) {
+ audio_enc.quality = atof(arg) * 1000;
+ }
} else if (!strcasecmp(cmd, "VideoBitRate")) {
get_arg(arg, sizeof(arg), &p);
if (stream) {