Re: [FFmpeg-devel] [PATCH] ffmpeg_opt: fix max_error_rate help info display issue.

2018-02-23 Thread Michael Niedermayer
On Fri, Feb 23, 2018 at 04:08:09PM +0800, Jun Zhao wrote:
> 

>  ffmpeg_opt.c |2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> eb647d9949ae4d3da7b93630bc527653d4ebeb46  
> 0001-ffmpeg_opt-fix-max_error_rate-help-info-display-issu.patch
> From 5272bc77ec1834f767277f1cdf8ac13727a19319 Mon Sep 17 00:00:00 2001
> From: Jun Zhao 
> Date: Fri, 23 Feb 2018 15:58:10 +0800
> Subject: [PATCH] ffmpeg_opt: fix max_error_rate help info display issue.
> 
> ffmpeg -h display "max_error_rate" option help information have
> been cut off, the root cause is used a wrong initial order.
> 
> Signed-off-by: Jun Zhao 
> ---
>  fftools/ffmpeg_opt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

thanks

[...]

-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein


signature.asc
Description: PGP signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH] ffmpeg_opt: fix max_error_rate help info display issue.

2018-02-23 Thread Jun Zhao

From 5272bc77ec1834f767277f1cdf8ac13727a19319 Mon Sep 17 00:00:00 2001
From: Jun Zhao 
Date: Fri, 23 Feb 2018 15:58:10 +0800
Subject: [PATCH] ffmpeg_opt: fix max_error_rate help info display issue.

ffmpeg -h display "max_error_rate" option help information have
been cut off, the root cause is used a wrong initial order.

Signed-off-by: Jun Zhao 
---
 fftools/ffmpeg_opt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index 997d538381..1b591d9695 100644
--- a/fftools/ffmpeg_opt.c
+++ b/fftools/ffmpeg_opt.c
@@ -3457,7 +3457,7 @@ const OptionDef options[] = {
 { "debug_ts",   OPT_BOOL | OPT_EXPERT,   { 
_ts },
 "print timestamp debugging info" },
 { "max_error_rate",  HAS_ARG | OPT_FLOAT,{ 
_error_rate },
-"maximum error rate", "ratio of errors (0.0: no errors, 1.0: 100% 
errors) above which ffmpeg returns an error instead of success." },
+"ratio of errors (0.0: no errors, 1.0: 100% errors) above which ffmpeg 
returns an error instead of success.", "maximum error rate" },
 { "discard",OPT_STRING | HAS_ARG | OPT_SPEC |
 OPT_INPUT,   { .off = 
OFFSET(discard) },
 "discard", "" },
-- 
2.14.1

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel