diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-12-05 12:38:32 -0500 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-03-23 09:57:32 +0100 |
commit | 88fd836a015a5f3380df74592e440e7d1e5b8000 (patch) | |
tree | a166dec6a16c86fcdcf3b49681697d085b049a9e /libavfilter/buffersrc.c | |
parent | 07a2b155949eb267cdfc7805f42c7b3375f9c7c5 (diff) | |
download | ffmpeg-88fd836a015a5f3380df74592e440e7d1e5b8000.tar.gz |
lavfi: Drop deprecated way of passing options for a few filters
Deprecated in 02/2013.
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r-- | libavfilter/buffersrc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index f553508cf1..df00971514 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -244,14 +244,6 @@ static const AVOption video_options[] = { { "width", NULL, OFFSET(w), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V }, { "height", NULL, OFFSET(h), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V }, { "pix_fmt", NULL, OFFSET(pix_fmt_str), AV_OPT_TYPE_STRING, .flags = V }, -#if FF_API_OLD_FILTER_OPTS - /* those 4 are for compatibility with the old option passing system where each filter - * did its own parsing */ - { "time_base_num", "deprecated, do not use", OFFSET(time_base.num), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V }, - { "time_base_den", "deprecated, do not use", OFFSET(time_base.den), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V }, - { "sar_num", "deprecated, do not use", OFFSET(pixel_aspect.num), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V }, - { "sar_den", "deprecated, do not use", OFFSET(pixel_aspect.den), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, V }, -#endif { "sar", "sample aspect ratio", OFFSET(pixel_aspect), AV_OPT_TYPE_RATIONAL, { .dbl = 0 }, 0, DBL_MAX, V }, { "time_base", NULL, OFFSET(time_base), AV_OPT_TYPE_RATIONAL, { .dbl = 0 }, 0, DBL_MAX, V }, { "frame_rate", NULL, OFFSET(frame_rate), AV_OPT_TYPE_RATIONAL, { .dbl = 0 }, 0, DBL_MAX, V }, |