diff options
author | Martin Storsjö <martin@martin.st> | 2012-08-31 00:42:30 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-09-04 23:13:55 +0300 |
commit | 21bc44038491e525335ad763883b0288402ff6a0 (patch) | |
tree | 5c2b5c0c0ff7163a1d056c33c1b52c1255e99332 /libavfilter/vsrc_testsrc.c | |
parent | c7b610aa0b1bac47eea0056b13fe6e982b85844a (diff) | |
download | ffmpeg-21bc44038491e525335ad763883b0288402ff6a0.tar.gz |
avopt: Explicitly store rational option defaults in .dbl
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavfilter/vsrc_testsrc.c')
-rw-r--r-- | libavfilter/vsrc_testsrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index ce45d64432..709a6a2e3a 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -67,7 +67,7 @@ static const AVOption testsrc_options[] = { { "rate", "set video rate", OFFSET(rate), AV_OPT_TYPE_STRING, {.str = "25"}, }, { "r", "set video rate", OFFSET(rate), AV_OPT_TYPE_STRING, {.str = "25"}, }, { "duration", "set video duration", OFFSET(duration), AV_OPT_TYPE_STRING, {.str = NULL}, }, - { "sar", "set video sample aspect ratio", OFFSET(sar), AV_OPT_TYPE_RATIONAL, {1}, 0, INT_MAX }, + { "sar", "set video sample aspect ratio", OFFSET(sar), AV_OPT_TYPE_RATIONAL, {.dbl = 1}, 0, INT_MAX }, { NULL }, }; |