[FFmpeg-cvslog] avfilter/blend: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

Clément Bœsch git at videolan.org
Tue Sep 8 23:44:56 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep  8 23:43:54 2015 +0200| [7a29d10839f0ce5177226368c433eed422355b31] | committer: Clément Bœsch

avfilter/blend: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

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

 libavfilter/vf_blend.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c
index 5901ffa..be92bd1 100644
--- a/libavfilter/vf_blend.c
+++ b/libavfilter/vf_blend.c
@@ -153,8 +153,8 @@ typedef struct {
 
 static const AVOption blend_options[] = {
     COMMON_OPTIONS,
-    { "shortest",    "force termination when the shortest input terminates", OFFSET(dinput.shortest), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS },
-    { "repeatlast",  "repeat last bottom frame", OFFSET(dinput.repeatlast), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS },
+    { "shortest",    "force termination when the shortest input terminates", OFFSET(dinput.shortest), AV_OPT_TYPE_BOOL, {.i64=0}, 0, 1, FLAGS },
+    { "repeatlast",  "repeat last bottom frame", OFFSET(dinput.repeatlast), AV_OPT_TYPE_BOOL, {.i64=1}, 0, 1, FLAGS },
     { NULL }
 };
 



More information about the ffmpeg-cvslog mailing list