From 7c1d662a0cfc85721513b436ede440c58d5638ec Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Fri, 22 Sep 2006 13:56:59 +0000 Subject: [PATCH] Remove the "skip_threshold" OptionDef. The equally named AVOption takes over its function. Originally committed as revision 6318 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 5b35f35113..6218528e20 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -135,7 +135,6 @@ static int top_field_first = -1; static int me_threshold = 0; static int intra_dc_precision = 8; static int me_penalty_compensation= 256; -static int frame_skip_threshold= 0; static int frame_skip_factor= 0; static int frame_skip_exp= 0; static int loop_input = 0; @@ -2937,7 +2936,6 @@ static void new_video_stream(AVFormatContext *oc) video_enc->strict_std_compliance = strict; video_enc->error_rate = error_rate; video_enc->me_penalty_compensation= me_penalty_compensation; - video_enc->frame_skip_threshold= frame_skip_threshold; video_enc->frame_skip_factor= frame_skip_factor; video_enc->frame_skip_exp= frame_skip_exp; @@ -3858,7 +3856,6 @@ const OptionDef options[] = { { "dc", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&intra_dc_precision}, "intra_dc_precision", "precision" }, { "mepc", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&me_penalty_compensation}, "motion estimation bitrate penalty compensation", "factor (1.0 = 256)" }, { "vtag", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_tag}, "force video tag/fourcc", "fourcc/tag" }, - { "skip_threshold", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&frame_skip_threshold}, "frame skip threshold", "threshold" }, { "skip_factor", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&frame_skip_factor}, "frame skip factor", "factor" }, { "skip_exp", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&frame_skip_exp}, "frame skip exponent", "exponent" }, { "newvideo", OPT_VIDEO, {(void*)opt_new_video_stream}, "add a new video stream to the current output stream" },