diff mbox

[FFmpeg-devel] lavfi/framesync: reword repeatlast option help.

Message ID 20170912091940.21634-1-george@nsup.org
State Accepted
Commit 9bad5e53191092ee17c0a95c597cccd527594d10
Headers show

Commit Message

Nicolas George Sept. 12, 2017, 9:19 a.m. UTC
Signed-off-by: Nicolas George <george@nsup.org>
---
 doc/filters.texi        | 6 +++---
 libavfilter/framesync.c | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Paul B Mahol Sept. 12, 2017, 10:14 a.m. UTC | #1
On 9/12/17, Nicolas George <george@nsup.org> wrote:
> Signed-off-by: Nicolas George <george@nsup.org>
> ---
>  doc/filters.texi        | 6 +++---
>  libavfilter/framesync.c | 2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
>

lgtm
Nicolas George Sept. 12, 2017, 10:30 a.m. UTC | #2
Le sextidi 26 fructidor, an CCXXV, Paul B Mahol a écrit :
> lgtm

Thanks, pushed.

Regards,
diff mbox

Patch

diff --git a/doc/filters.texi b/doc/filters.texi
index 4111532512..830de54909 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -337,9 +337,9 @@  If set to 1, force the output to terminate when the shortest input
 terminates. Default value is 0.
 
 @item repeatlast
-If set to 1, force the filter to draw the last overlay frame over the
-main input until the end of the stream. A value of 0 disables this
-behavior. Default value is 1.
+If set to 1, force the filter to extend the last frame of secondary streams
+until the end of the primary stream. A value of 0 disables this behavior.
+Default value is 1.
 @end table
 
 @c man end OPTIONS FOR FILTERS WITH SEVERAL INPUTS
diff --git a/libavfilter/framesync.c b/libavfilter/framesync.c
index ebfbcaf090..5567d660ab 100644
--- a/libavfilter/framesync.c
+++ b/libavfilter/framesync.c
@@ -41,7 +41,7 @@  static const AVOption framesync_options[] = {
         { "endall", "End both streams.",            0, AV_OPT_TYPE_CONST, { .i64 = EOF_ACTION_ENDALL }, .flags = FLAGS, "eof_action" },
         { "pass",   "Pass through the main input.", 0, AV_OPT_TYPE_CONST, { .i64 = EOF_ACTION_PASS },   .flags = FLAGS, "eof_action" },
     { "shortest", "force termination when the shortest input terminates", OFFSET(opt_shortest), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, FLAGS },
-    { "repeatlast", "repeat overlay of the last overlay frame", OFFSET(opt_repeatlast), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, FLAGS },
+    { "repeatlast", "extend last frame of secondary streams beyond EOF", OFFSET(opt_repeatlast), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, FLAGS },
     { NULL }
 };
 static const AVClass framesync_class = {