ext/ffmpeg/gstffmpegenc.c: Do not limit quantizer values so we can get realy low bitrates.

Original commit message from CVS:
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
Do not limit quantizer values so we can get realy low
bitrates.
This commit is contained in:
Wim Taymans 2005-09-22 12:55:30 +00:00
parent 50e1f4f22d
commit a5a31c9851
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2005-09-22 Wim Taymans <wim@fluendo.com>
* ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_setcaps):
Do not limit quantizer values so we can get realy low
bitrates.
2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
patch by: Wim Taymans

View file

@ -386,9 +386,9 @@ gst_ffmpegenc_setcaps (GstPad * pad, GstCaps * caps)
ffmpegenc->context->me_method = ffmpegenc->me_method;
/* general properties */
ffmpegenc->context->qmin = 3;
ffmpegenc->context->qmax = 15;
ffmpegenc->context->max_qdiff = 3;
ffmpegenc->context->qmin = 1;
ffmpegenc->context->qmax = 31;
ffmpegenc->context->max_qdiff = 15;
/* fetch pix_fmt and so on */
gst_ffmpeg_caps_with_codectype (oclass->in_plugin->type,