diff options
author | Marton Balint <cus@passwd.hu> | 2018-09-30 21:18:26 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-10-07 20:26:28 +0200 |
commit | 0e9a09793a98a416ed86f7be0ed89dc10e9734a5 (patch) | |
tree | 7542f018278df12f1e5ad824b71624f5f225e7f4 /libavfilter/af_afade.c | |
parent | 3d308746eb4517ed368c8b6949768ed8b2dc91e1 (diff) | |
download | ffmpeg-0e9a09793a98a416ed86f7be0ed89dc10e9734a5.tar.gz |
avfilter/af_afade: fix crossfade duration maximum value
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavfilter/af_afade.c')
-rw-r--r-- | libavfilter/af_afade.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_afade.c b/libavfilter/af_afade.c index 7216cea31d..9aab644039 100644 --- a/libavfilter/af_afade.c +++ b/libavfilter/af_afade.c @@ -363,8 +363,8 @@ AVFilter ff_af_afade = { static const AVOption acrossfade_options[] = { { "nb_samples", "set number of samples for cross fade duration", OFFSET(nb_samples), AV_OPT_TYPE_INT, {.i64 = 44100}, 1, INT32_MAX/10, FLAGS }, { "ns", "set number of samples for cross fade duration", OFFSET(nb_samples), AV_OPT_TYPE_INT, {.i64 = 44100}, 1, INT32_MAX/10, FLAGS }, - { "duration", "set cross fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, 60, FLAGS }, - { "d", "set cross fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, 60, FLAGS }, + { "duration", "set cross fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, 60000000, FLAGS }, + { "d", "set cross fade duration", OFFSET(duration), AV_OPT_TYPE_DURATION, {.i64 = 0. }, 0, 60000000, FLAGS }, { "overlap", "overlap 1st stream end with 2nd stream start", OFFSET(overlap), AV_OPT_TYPE_BOOL, {.i64 = 1 }, 0, 1, FLAGS }, { "o", "overlap 1st stream end with 2nd stream start", OFFSET(overlap), AV_OPT_TYPE_BOOL, {.i64 = 1 }, 0, 1, FLAGS }, { "curve1", "set fade curve type for 1st stream", OFFSET(curve), AV_OPT_TYPE_INT, {.i64 = TRI }, 0, NB_CURVES - 1, FLAGS, "curve" }, |