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

Clément Bœsch git at videolan.org
Wed Sep 9 00:31:49 CEST 2015


ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Wed Sep  9 00:30:53 2015 +0200| [9f846ed4c79415b27b75f7e285325377384a07d9] | committer: Clément Bœsch

avfilter/haldclut: use AV_OPT_TYPE_BOOL for shortest and repeatlast options

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

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

diff --git a/libavfilter/vf_lut3d.c b/libavfilter/vf_lut3d.c
index 5bdbb79..2b8e027 100644
--- a/libavfilter/vf_lut3d.c
+++ b/libavfilter/vf_lut3d.c
@@ -772,8 +772,8 @@ static av_cold void haldclut_uninit(AVFilterContext *ctx)
 }
 
 static const AVOption haldclut_options[] = {
-    { "shortest",   "force termination when the shortest input terminates", OFFSET(dinput.shortest),   AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, FLAGS },
-    { "repeatlast", "continue applying the last clut after eos",            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", "continue applying the last clut after eos",            OFFSET(dinput.repeatlast), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, FLAGS },
     COMMON_OPTIONS
 };
 



More information about the ffmpeg-cvslog mailing list