diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2006-09-15 22:32:30 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2006-09-15 22:32:30 +0000 |
commit | dc5ee8bc54fe2a98eaaf83d84f0fba93e0af03af (patch) | |
tree | b5c41bda30c99f382c0ca3fc4834aae2c2cdeb7e | |
parent | 0dcb89fc528a1024fd4eb80b1d56eaa9fc8573ea (diff) | |
download | ffmpeg-dc5ee8bc54fe2a98eaaf83d84f0fba93e0af03af.tar.gz |
Remove the "bt" OptionDef option from ffmpeg.c. The equally named
"bt" AVOption takes over its function although the parameter unit
has changed from kilobits/sec to bits/sec.
Originally committed as revision 6276 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | doc/ffmpeg-doc.texi | 2 | ||||
-rw-r--r-- | ffmpeg.c | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi index 44692f6c6d..04f85adeef 100644 --- a/doc/ffmpeg-doc.texi +++ b/doc/ffmpeg-doc.texi @@ -269,7 +269,7 @@ blue (default = 000000 (black)). @item -vn Disable video recording. @item -bt tolerance -Set video bitrate tolerance (in kbit/s). +Set video bitrate tolerance (in bit/s). @item -maxrate bitrate Set max video bitrate tolerance (in bit/s). @item -minrate bitrate @@ -105,7 +105,6 @@ static int frame_rightBand = 0; static int max_frames[4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX}; static int frame_rate = 25; static int frame_rate_base = 1; -static int video_bit_rate_tolerance = 4000*1000; static float video_qscale = 0; static int video_qmin = 2; static int video_qmax = 31; @@ -2102,11 +2101,6 @@ static void opt_format(const char *arg) } } -static void opt_video_bitrate_tolerance(const char *arg) -{ - video_bit_rate_tolerance = atoi(arg) * 1000; -} - static void opt_video_buffer_size(const char *arg) { video_rc_buffer_size = atoi(arg) * 8*1024; @@ -2941,7 +2935,6 @@ static void new_video_stream(AVFormatContext *oc) av_set_double(video_enc, opt_names[i], d); } - video_enc->bit_rate_tolerance = video_bit_rate_tolerance; video_enc->time_base.den = frame_rate; video_enc->time_base.num = frame_rate_base; if(codec && codec->supported_framerates){ @@ -3943,7 +3936,6 @@ const OptionDef options[] = { { "rc_init_cplx", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_rc_initial_cplx}, "initial complexity for 1-pass encoding", "complexity" }, { "rc_eq", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_eq}, "set rate control equation", "equation" }, { "rc_override", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_override_string}, "rate control override for specific intervals", "override" }, - { "bt", HAS_ARG | OPT_VIDEO, {(void*)opt_video_bitrate_tolerance}, "set video bitrate tolerance (in kbit/s)", "tolerance" }, { "bufsize", HAS_ARG | OPT_VIDEO, {(void*)opt_video_buffer_size}, "set ratecontrol buffer size (in kByte)", "size" }, { "vcodec", HAS_ARG | OPT_VIDEO, {(void*)opt_video_codec}, "force video codec ('copy' to copy stream)", "codec" }, { "me", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_motion_estimation}, "set motion estimation method", |