Commit 16b8f9c3 authored by pulento's avatar pulento

- Changed default qmin = 3 as ffmpeg.c

- Less bitrate tolerance since we are streaming.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@474 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 94c46a05
...@@ -1238,12 +1238,13 @@ void add_codec(FFStream *stream, AVCodecContext *av) ...@@ -1238,12 +1238,13 @@ void add_codec(FFStream *stream, AVCodecContext *av)
av->width = 160; av->width = 160;
av->height = 128; av->height = 128;
} }
av->bit_rate_tolerance= 128000; /* Bitrate tolerance is less for streaming */
av->qmin= 5; av->bit_rate_tolerance = av->bit_rate / 4;
av->qmax= 31; av->qmin = 3;
av->qcompress= 0.5; av->qmax = 31;
av->qblur= 0.5; av->qcompress = 0.5;
av->max_qdiff= 3; av->qblur = 0.5;
av->max_qdiff = 3;
break; break;
default: default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment