The options have been deprecated and are non-operational since more than
two years.
... | ... |
@@ -451,21 +451,6 @@ form @var{num}:@var{den}, where @var{num} and @var{den} are the |
451 | 451 |
numerator and denominator of the aspect ratio. For example "4:3", |
452 | 452 |
"16:9", "1.3333", and "1.7777" are valid argument values. |
453 | 453 |
|
454 |
-@item -croptop @var{size} |
|
455 |
-@item -cropbottom @var{size} |
|
456 |
-@item -cropleft @var{size} |
|
457 |
-@item -cropright @var{size} |
|
458 |
-All the crop options have been removed. Use -vf |
|
459 |
-crop=width:height:x:y instead. |
|
460 |
- |
|
461 |
-@item -padtop @var{size} |
|
462 |
-@item -padbottom @var{size} |
|
463 |
-@item -padleft @var{size} |
|
464 |
-@item -padright @var{size} |
|
465 |
-@item -padcolor @var{hex_color} |
|
466 |
-All the pad options have been removed. Use -vf |
|
467 |
-pad=width:height:x:y:color instead. |
|
468 |
- |
|
469 | 454 |
@item -vn (@emph{output}) |
470 | 455 |
Disable video recording. |
471 | 456 |
|
... | ... |
@@ -149,18 +149,6 @@ static void init_options(OptionsContext *o, int is_input) |
149 | 149 |
o->chapters_input_file = INT_MAX; |
150 | 150 |
} |
151 | 151 |
|
152 |
-static int opt_frame_crop(void *optctx, const char *opt, const char *arg) |
|
153 |
-{ |
|
154 |
- av_log(NULL, AV_LOG_FATAL, "Option '%s' has been removed, use the crop filter instead\n", opt); |
|
155 |
- return AVERROR(EINVAL); |
|
156 |
-} |
|
157 |
- |
|
158 |
-static int opt_pad(void *optctx, const char *opt, const char *arg) |
|
159 |
-{ |
|
160 |
- av_log(NULL, AV_LOG_FATAL, "Option '%s' has been removed, use the pad filter instead\n", opt); |
|
161 |
- return -1; |
|
162 |
-} |
|
163 |
- |
|
164 | 152 |
static int opt_sameq(void *optctx, const char *opt, const char *arg) |
165 | 153 |
{ |
166 | 154 |
av_log(NULL, AV_LOG_ERROR, "Option '%s' was removed. " |
... | ... |
@@ -2490,24 +2478,6 @@ const OptionDef options[] = { |
2490 | 2490 |
"set pixel format", "format" }, |
2491 | 2491 |
{ "bits_per_raw_sample", OPT_VIDEO | OPT_INT | HAS_ARG, { &frame_bits_per_raw_sample }, |
2492 | 2492 |
"set the number of bits per raw sample", "number" }, |
2493 |
- { "croptop", OPT_VIDEO | HAS_ARG, { .func_arg = opt_frame_crop }, |
|
2494 |
- "Removed, use the crop filter instead", "size" }, |
|
2495 |
- { "cropbottom", OPT_VIDEO | HAS_ARG, { .func_arg = opt_frame_crop }, |
|
2496 |
- "Removed, use the crop filter instead", "size" }, |
|
2497 |
- { "cropleft", OPT_VIDEO | HAS_ARG, { .func_arg = opt_frame_crop }, |
|
2498 |
- "Removed, use the crop filter instead", "size" }, |
|
2499 |
- { "cropright", OPT_VIDEO | HAS_ARG, { .func_arg = opt_frame_crop }, |
|
2500 |
- "Removed, use the crop filter instead", "size" }, |
|
2501 |
- { "padtop", OPT_VIDEO | HAS_ARG, { .func_arg = opt_pad }, |
|
2502 |
- "Removed, use the pad filter instead", "size" }, |
|
2503 |
- { "padbottom", OPT_VIDEO | HAS_ARG, { .func_arg = opt_pad }, |
|
2504 |
- "Removed, use the pad filter instead", "size" }, |
|
2505 |
- { "padleft", OPT_VIDEO | HAS_ARG, { .func_arg = opt_pad }, |
|
2506 |
- "Removed, use the pad filter instead", "size" }, |
|
2507 |
- { "padright", OPT_VIDEO | HAS_ARG, { .func_arg = opt_pad }, |
|
2508 |
- "Removed, use the pad filter instead", "size" }, |
|
2509 |
- { "padcolor", OPT_VIDEO | HAS_ARG, { .func_arg = opt_pad }, |
|
2510 |
- "Removed, use the pad filter instead", "color" }, |
|
2511 | 2493 |
{ "intra", OPT_VIDEO | OPT_BOOL | OPT_EXPERT, { &intra_only }, |
2512 | 2494 |
"deprecated use -g 1" }, |
2513 | 2495 |
{ "vn", OPT_VIDEO | OPT_BOOL | OPT_OFFSET, { .off = OFFSET(video_disable) }, |