diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-17 19:26:49 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-08-18 11:22:05 +0200 |
commit | ddf5ef02638daf115775c1300557ee102e3f9abe (patch) | |
tree | 9e30f0093b57c11311053f98d41eeec68f838bb0 /avconv.c | |
parent | e922bbfa769cc0f84f09d4027559a23b83e8478c (diff) | |
download | ffmpeg-ddf5ef02638daf115775c1300557ee102e3f9abe.tar.gz |
avconv: remove -intra option.
It's equivalent to -g 0.
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -143,7 +143,6 @@ static int qp_hist = 0; static char *vfilters = NULL; #endif -static int intra_only = 0; static int audio_sample_rate = 0; #define QSCALE_NONE -99999 static float audio_qscale = QSCALE_NONE; @@ -3166,8 +3165,6 @@ static OutputStream *new_video_stream(AVFormatContext *oc) video_enc->pix_fmt = frame_pix_fmt; st->sample_aspect_ratio = video_enc->sample_aspect_ratio; - if (intra_only) - video_enc->gop_size = 0; if (video_qscale || same_quant) { video_enc->flags |= CODEC_FLAG_QSCALE; video_enc->global_quality = FF_QP2LAMBDA * video_qscale; @@ -4089,7 +4086,6 @@ static const OptionDef options[] = { { "padleft", HAS_ARG | OPT_VIDEO, {(void*)opt_pad}, "Removed, use the pad filter instead", "size" }, { "padright", HAS_ARG | OPT_VIDEO, {(void*)opt_pad}, "Removed, use the pad filter instead", "size" }, { "padcolor", HAS_ARG | OPT_VIDEO, {(void*)opt_pad}, "Removed, use the pad filter instead", "color" }, - { "intra", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&intra_only}, "use only intra frames"}, { "vn", OPT_BOOL | OPT_VIDEO, {(void*)&video_disable}, "disable video" }, { "vdt", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&video_discard}, "discard threshold", "n" }, { "qscale", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qscale}, "use fixed video quantizer scale (VBR)", "q" }, |