[FFmpeg-cvslog] Redefine sameq

Lou Logan git at videolan.org
Mon Apr 11 04:12:09 CEST 2011


ffmpeg | branch: master | Lou Logan <lou at fakeoutdoorsman.com> | Sat Apr  9 13:50:05 2011 +0200| [f8de11cf7dbfefec535c3114a5fced3609d01343] | committer: Anton Khirnov

Redefine sameq

I think the documentation of sameq is causing confusion and misuse of
this option.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Anton Khirnov <anton at khirnov.net>

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

 doc/ffmpeg.texi |    2 +-
 ffmpeg.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 21c6f2c..38da918 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -272,7 +272,7 @@ Set video buffer verifier buffer size (in bits).
 Force video codec to @var{codec}. Use the @code{copy} special value to
 tell that the raw codec data must be copied as is.
 @item -sameq
-Use same video quality as source (implies VBR).
+Use same quantizer as source (implies VBR).
 
 @item -pass @var{n}
 Select the pass number (1 or 2). It is used to do two-pass
diff --git a/ffmpeg.c b/ffmpeg.c
index 841c798..80d2cca 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4208,7 +4208,7 @@ static const OptionDef options[] = {
     { "vcodec", HAS_ARG | OPT_VIDEO, {(void*)opt_video_codec}, "force video codec ('copy' to copy stream)", "codec" },
     { "me_threshold", HAS_ARG | OPT_FUNC2 | OPT_EXPERT | OPT_VIDEO, {(void*)opt_me_threshold}, "motion estimaton threshold",  "threshold" },
     { "sameq", OPT_BOOL | OPT_VIDEO, {(void*)&same_quality},
-      "use same video quality as source (implies VBR)" },
+      "use same quantizer as source (implies VBR)" },
     { "pass", HAS_ARG | OPT_VIDEO, {(void*)&opt_pass}, "select the pass number (1 or 2)", "n" },
     { "passlogfile", HAS_ARG | OPT_STRING | OPT_VIDEO, {(void*)&pass_logfilename_prefix}, "select two pass log file name prefix", "prefix" },
     { "deinterlace", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&do_deinterlace},



More information about the ffmpeg-cvslog mailing list