History

avfilter/vsrc_sierpinski: change seed option type

Paul B Mahol committed 6 years ago

Commit c98d8b21 parent d83304d1 file · +2 −2Browse files

Unified · Split

libavfilter/vsrc_sierpinski.c+2−2
@@ -43,7 +43,7 @@ typedef struct SierpinskiContext { · 42 unmodified lines
4343 AVRational frame_rate;
4444 uint64_t pts;
4545
46− unsigned int seed;
46+ int64_t seed;
4747 int jump;
4848
4949 int pos_x, pos_y;
@@ -61,7 +61,7 @@ static const AVOption sierpinski_options[] = { · 11 unmodified lines
6161 {"s", "set frame size", OFFSET(w), AV_OPT_TYPE_IMAGE_SIZE, {.str="640x480"}, 0, 0, FLAGS },
6262 {"rate", "set frame rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, 0, FLAGS },
6363 {"r", "set frame rate", OFFSET(frame_rate), AV_OPT_TYPE_VIDEO_RATE, {.str="25"}, 0, 0, FLAGS },
64− {"seed", "set the seed", OFFSET(seed), AV_OPT_TYPE_INT, {.i64=-1}, -1, UINT32_MAX, FLAGS },
64+ {"seed", "set the seed", OFFSET(seed), AV_OPT_TYPE_INT64, {.i64=-1}, -1, UINT32_MAX, FLAGS },
6565 {"jump", "set the jump", OFFSET(jump), AV_OPT_TYPE_INT, {.i64=100}, 1, 10000, FLAGS },
6666 {"type","set fractal type",OFFSET(type), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "type" },
6767 {"carpet", "sierpinski carpet", 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, FLAGS, "type" },

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t