[FFmpeg-cvslog] lavfi/volume_justin: fix a few grammar inconsistencies in options description

Stefano Sabatini git at videolan.org
Sat Dec 8 15:30:03 CET 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Dec  8 11:54:43 2012 +0100| [402ac72bbc8fcbcce7aa385873c14cf8e0384ca4] | committer: Stefano Sabatini

lavfi/volume_justin: fix a few grammar inconsistencies in options description

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

 doc/filters.texi               |    2 +-
 libavfilter/af_volume_justin.c |   10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/filters.texi b/doc/filters.texi
index 6f584d8..9e0c041 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -939,7 +939,7 @@ The output audio volume is given by the relation:
 Default value for @var{volume} is 1.0.
 
 @item precision
-Mathematical precision.
+Set the mathematical precision.
 
 This determines which input sample formats will be allowed, which affects the
 precision of the volume scaling.
diff --git a/libavfilter/af_volume_justin.c b/libavfilter/af_volume_justin.c
index 4162cb9..0f45a9e 100644
--- a/libavfilter/af_volume_justin.c
+++ b/libavfilter/af_volume_justin.c
@@ -43,13 +43,13 @@ static const char *precision_str[] = {
 #define A AV_OPT_FLAG_AUDIO_PARAM
 
 static const AVOption options[] = {
-    { "volume", "Volume adjustment.",
+    { "volume", "set volume adjustment",
             OFFSET(volume), AV_OPT_TYPE_DOUBLE, { .dbl = 1.0 }, 0, 0x7fffff, A },
-    { "precision", "Mathematical precision.",
+    { "precision", "select mathematical precision",
             OFFSET(precision), AV_OPT_TYPE_INT, { .i64 = PRECISION_FLOAT }, PRECISION_FIXED, PRECISION_DOUBLE, A, "precision" },
-        { "fixed",  "8-bit fixed-point.",     0, AV_OPT_TYPE_CONST, { .i64 = PRECISION_FIXED  }, INT_MIN, INT_MAX, A, "precision" },
-        { "float",  "32-bit floating-point.", 0, AV_OPT_TYPE_CONST, { .i64 = PRECISION_FLOAT  }, INT_MIN, INT_MAX, A, "precision" },
-        { "double", "64-bit floating-point.", 0, AV_OPT_TYPE_CONST, { .i64 = PRECISION_DOUBLE }, INT_MIN, INT_MAX, A, "precision" },
+        { "fixed",  "select 8-bit fixed-point",     0, AV_OPT_TYPE_CONST, { .i64 = PRECISION_FIXED  }, INT_MIN, INT_MAX, A, "precision" },
+        { "float",  "select 32-bit floating-point", 0, AV_OPT_TYPE_CONST, { .i64 = PRECISION_FLOAT  }, INT_MIN, INT_MAX, A, "precision" },
+        { "double", "select 64-bit floating-point", 0, AV_OPT_TYPE_CONST, { .i64 = PRECISION_DOUBLE }, INT_MIN, INT_MAX, A, "precision" },
     { NULL },
 };
 



More information about the ffmpeg-cvslog mailing list