[Ffmpeg-cvslog] r6263 - trunk/ffmpeg.c

takis subversion
Fri Sep 15 19:44:36 CEST 2006


Author: takis
Date: Fri Sep 15 19:44:36 2006
New Revision: 6263

Modified:
   trunk/ffmpeg.c

Log:
Remove the "preme" OptionDef option from ffmpeg.c


Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Fri Sep 15 19:44:36 2006
@@ -142,7 +142,6 @@
 static int video_codec_tag = 0;
 static int same_quality = 0;
 static int b_frames = 0;
-static int pre_me = 0;
 static int do_deinterlace = 0;
 static int workaround_bugs = FF_BUG_AUTODETECT;
 static int packet_size = 0;
@@ -2373,11 +2372,6 @@
     }
 }
 
-static void opt_pre_me(const char *arg)
-{
-    pre_me = atoi(arg);
-}
-
 static void opt_qscale(const char *arg)
 {
     video_qscale = atof(arg);
@@ -3044,8 +3038,6 @@
         if(inter_matrix)
             video_enc->inter_matrix = inter_matrix;
 
-        video_enc->pre_me = pre_me;
-
         if (b_frames) {
             video_enc->max_b_frames = b_frames;
             video_enc->b_quant_factor = 2.0;
@@ -4028,7 +4020,6 @@
     { "me_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_me_threshold}, "motion estimaton threshold",  "" },
     { "mb_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_mb_threshold}, "macroblock threshold",  "" },
     { "bf", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_b_frames}, "use 'frames' B frames", "frames" },
-    { "preme", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_pre_me}, "pre motion estimation", "" },
     { "bug", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_workaround_bugs}, "workaround not auto detected encoder bugs", "param" },
     { "ps", HAS_ARG | OPT_EXPERT, {(void*)opt_packet_size}, "set packet size in bits", "size" },
     { "error", HAS_ARG | OPT_EXPERT, {(void*)opt_error_rate}, "error rate", "rate" },




More information about the ffmpeg-cvslog mailing list