From 8cd019bdca4f7a6b485b63c25b80b68851ac6fc1 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Wed, 20 Sep 2006 08:42:48 +0000 Subject: [PATCH] Remove the "sc_threshold" OptionDef variable. Originally committed as revision 6301 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index c733a028ce..5be2f9ef00 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -132,7 +132,6 @@ static int packet_size = 0; static int error_rate = 0; static int strict = 0; static int top_field_first = -1; -static int sc_threshold = 0; static int me_threshold = 0; static int mb_threshold = 0; static int intra_dc_precision = 8; @@ -2395,11 +2394,6 @@ static void opt_top_field_first(const char *arg) top_field_first= atoi(arg); } -static void opt_sc_threshold(const char *arg) -{ - sc_threshold= atoi(arg); -} - static void opt_thread_count(const char *arg) { thread_count= atoi(arg); @@ -2953,7 +2947,6 @@ static void new_video_stream(AVFormatContext *oc) video_enc->intra_dc_precision= intra_dc_precision - 8; video_enc->strict_std_compliance = strict; video_enc->error_rate = error_rate; - video_enc->scenechange_threshold= sc_threshold; video_enc->me_penalty_compensation= me_penalty_compensation; video_enc->frame_skip_threshold= frame_skip_threshold; video_enc->frame_skip_factor= frame_skip_factor; @@ -3874,7 +3867,6 @@ const OptionDef options[] = { { "intra_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_intra_matrix}, "specify intra matrix coeffs", "matrix" }, { "inter_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_inter_matrix}, "specify inter matrix coeffs", "matrix" }, { "top", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_top_field_first}, "top=1/bottom=0/auto=-1 field first", "" }, - { "sc_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_sc_threshold}, "scene change threshold", "threshold" }, { "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" },