[FFmpeg-cvslog] avfilter/vsrc_sierpinski: unbreak configuring rate value
Paul B Mahol
git at videolan.org
Sat May 16 12:15:20 EEST 2020
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat May 16 11:12:57 2020 +0200| [1ead7ed5bf3a0a96ceba3d76e7dca5e54fff2dd5] | committer: Paul B Mahol
avfilter/vsrc_sierpinski: unbreak configuring rate value
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ead7ed5bf3a0a96ceba3d76e7dca5e54fff2dd5
---
libavfilter/vsrc_sierpinski.c | 4 ++--
1 file 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" },
More information about the ffmpeg-cvslog
mailing list