diff options
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r-- | ffmpeg_opt.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 4db881b721..10c0d04c66 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -83,7 +83,6 @@ int debug_ts = 0; int exit_on_error = 0; int print_stats = 1; int qp_hist = 0; -int same_quant = 0; int stdin_interaction = 1; int frame_bits_per_raw_sample = 0; @@ -989,7 +988,7 @@ static OutputStream *new_output_stream(OptionsContext *o, AVFormatContext *oc, e } MATCH_PER_STREAM_OPT(qscale, dbl, qscale, oc, st); - if (qscale >= 0 || same_quant) { + if (qscale >= 0) { st->codec->flags |= CODEC_FLAG_QSCALE; st->codec->global_quality = FF_QP2LAMBDA * qscale; } @@ -2390,10 +2389,6 @@ const OptionDef options[] = { "rate control override for specific intervals", "override" }, { "vcodec", OPT_VIDEO | HAS_ARG | OPT_PERFILE, { .func_arg = opt_video_codec }, "force video codec ('copy' to copy stream)", "codec" }, - { "sameq", OPT_VIDEO | OPT_BOOL | OPT_EXPERT , { &same_quant }, - "use same quantizer as source (implies VBR)" }, - { "same_quant", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, { &same_quant }, - "use same quantizer as source (implies VBR)" }, { "timecode", OPT_VIDEO | HAS_ARG | OPT_PERFILE, { .func_arg = opt_timecode }, "set initial TimeCode value.", "hh:mm:ss[:;.]ff" }, { "pass", OPT_VIDEO | HAS_ARG | OPT_SPEC | OPT_INT, { .off = OFFSET(pass) }, |