Browse code

ffmpeg_opt: remove unused variable and undocumented and not working command line option

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/05/31 12:02:35
Showing 1 changed files
... ...
@@ -104,7 +104,6 @@ float max_error_rate  = 2.0/3;
104 104
 static int intra_only         = 0;
105 105
 static int file_overwrite     = 0;
106 106
 static int no_file_overwrite  = 0;
107
-static int video_discard      = 0;
108 107
 static int intra_dc_precision = 8;
109 108
 static int do_psnr            = 0;
110 109
 static int input_sync;
... ...
@@ -2875,8 +2874,6 @@ const OptionDef options[] = {
2875 2875
         "deprecated use -g 1" },
2876 2876
     { "vn",           OPT_VIDEO | OPT_BOOL  | OPT_OFFSET | OPT_INPUT | OPT_OUTPUT,{ .off = OFFSET(video_disable) },
2877 2877
         "disable video" },
2878
-    { "vdt",          OPT_VIDEO | OPT_INT | HAS_ARG | OPT_EXPERT ,               { &video_discard },
2879
-        "discard threshold", "n" },
2880 2878
     { "rc_override",  OPT_VIDEO | HAS_ARG | OPT_EXPERT  | OPT_STRING | OPT_SPEC |
2881 2879
                       OPT_OUTPUT,                                                { .off = OFFSET(rc_overrides) },
2882 2880
         "rate control override for specific intervals", "override" },