aboutsummaryrefslogtreecommitdiffstats
path: root/ffserver.c
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2002-05-09 02:33:27 +0000
committerJuanjo <pulento@users.sourceforge.net>2002-05-09 02:33:27 +0000
commitba9b374f8971eb3200a36be9b934f5c6e6ef590d (patch)
tree6c557201f10beedbcfa2042c275c9f19dfd34a0a /ffserver.c
parentafc80f59a7b2c952f585a91cefb3d4e45266f076 (diff)
downloadffmpeg-ba9b374f8971eb3200a36be9b934f5c6e6ef590d.tar.gz
- Changed default qmin = 3 as ffmpeg.c
- Less bitrate tolerance since we are streaming. Originally committed as revision 474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/ffserver.c b/ffserver.c
index 40b1d8924b..5d48310bea 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -1238,12 +1238,13 @@ void add_codec(FFStream *stream, AVCodecContext *av)
av->width = 160;
av->height = 128;
}
- av->bit_rate_tolerance= 128000;
- av->qmin= 5;
- av->qmax= 31;
- av->qcompress= 0.5;
- av->qblur= 0.5;
- av->max_qdiff= 3;
+ /* Bitrate tolerance is less for streaming */
+ av->bit_rate_tolerance = av->bit_rate / 4;
+ av->qmin = 3;
+ av->qmax = 31;
+ av->qcompress = 0.5;
+ av->qblur = 0.5;
+ av->max_qdiff = 3;
break;
default: