diff options
author | Paul B Mahol <onemda@gmail.com> | 2020-05-16 11:12:57 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2020-05-16 11:13:46 +0200 |
commit | 1ead7ed5bf3a0a96ceba3d76e7dca5e54fff2dd5 (patch) | |
tree | fba1024a206636c7ab5d73f2ed860610a053e055 | |
parent | d99ed7367b7a78236f47aeaf8bdcb9be3c56661b (diff) | |
download | ffmpeg-1ead7ed5bf3a0a96ceba3d76e7dca5e54fff2dd5.tar.gz |
avfilter/vsrc_sierpinski: unbreak configuring rate value
-rw-r--r-- | libavfilter/vsrc_sierpinski.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vsrc_sierpinski.c b/libavfilter/vsrc_sierpinski.c index 04e262ae1c..49d4cdfa95 100644 --- a/libavfilter/vsrc_sierpinski.c +++ b/libavfilter/vsrc_sierpinski.c @@ -59,8 +59,8 @@ typedef struct SierpinskiContext { static const AVOption sierpinski_options[] = { {"size", "set frame size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str="640x480"}, 0, 0, FLAGS }, {"s", "set frame size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str="640x480"}, 0, 0, FLAGS }, - {"rate", "set frame rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, 0, FLAGS }, - {"r", "set frame rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, 0, FLAGS }, + {"rate", "set frame rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, INT_MAX, FLAGS }, + {"r", "set frame rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, INT_MAX, FLAGS }, {"seed", "set the seed", OFFSET(seed), AV_OPT_TYPE_INT64, {.i64=-1}, -1, UINT32_MAX, FLAGS }, {"jump", "set the jump", OFFSET(jump), AV_OPT_TYPE_INT, {.i64=100}, 1, 10000, FLAGS }, {"type","set fractal type",OFFSET(type), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "type" }, |