Remove the "skip_exp" OptionDef. The equally named AVOption takes over its
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Fri, 22 Sep 2006 13:58:38 +0000 (13:58 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Fri, 22 Sep 2006 13:58:38 +0000 (13:58 +0000)
function.

Originally committed as revision 6320 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 9153fc2..c2fceb8 100644 (file)
--- 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_exp= 0;
 static int loop_input = 0;
 static int loop_output = AVFMT_NOOUTPUTLOOP;
 static int qp_hist = 0;
@@ -2935,7 +2934,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_exp= frame_skip_exp;
 
         if(packet_size){
             video_enc->rtp_mode= 1;
@@ -3854,7 +3852,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_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" },
     { "qphist", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, { (void *)&qp_hist }, "show QP histogram" },