[FFmpeg-cvslog] lavfi/testsrc: add comment in options

Stefano Sabatini git at videolan.org
Mon Jul 30 00:38:25 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Jul 29 16:12:24 2012 +0200| [ad2022ac83aa3f3633bdacc21e79be1bbde4db6a] | committer: Stefano Sabatini

lavfi/testsrc: add comment in options

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad2022ac83aa3f3633bdacc21e79be1bbde4db6a
---

 libavfilter/vsrc_testsrc.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c
index 7229d4d..d33f197 100644
--- a/libavfilter/vsrc_testsrc.c
+++ b/libavfilter/vsrc_testsrc.c
@@ -67,6 +67,8 @@ static const AVOption testsrc_options[]= {
     { "duration", "set video duration", OFFSET(duration), AV_OPT_TYPE_STRING, {.str = NULL},      0, 0 },
     { "d",        "set video duration", OFFSET(duration), AV_OPT_TYPE_STRING, {.str = NULL},      0, 0 },
     { "sar",      "set video sample aspect ratio", OFFSET(sar), AV_OPT_TYPE_RATIONAL, {.dbl= 1},  0, INT_MAX },
+
+    /* only used by testsrc */
     { "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.dbl=0},  INT_MIN, INT_MAX },
     { "n",        "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.dbl=0},  INT_MIN, INT_MAX },
     { NULL },



More information about the ffmpeg-cvslog mailing list