diff mbox series

[FFmpeg-devel,2/2] avfilter/colorize: formatting

Message ID c28ab62d-7d3d-4922-8a3f-7f9f1806481d@ygerlach.de
State New
Headers show
Series [FFmpeg-devel,1/2] avfilter/colorize: add speed option | expand

Commit Message

Yannis Gerlach May 1, 2024, 8:48 a.m. UTC
Add spaces to format option list table-like

Signed-off-by: Yannis Gerlach <ffmpeg@ygerlach.de>
---
  libavfilter/vf_colorize.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

OFFSET(saturation), AV_OPT_TYPE_FLOAT, {.dbl=0.5},  0,   1, VF },
+    { "lightness",  "set the lightness", 
OFFSET(lightness),  AV_OPT_TYPE_FLOAT, {.dbl=0.5},  0,   1, VF },
+    { "mix",        "set the mix of source lightness", OFFSET(mix), 
    AV_OPT_TYPE_FLOAT, {.dbl=1},    0,   1, VF },
      { "speed",      "set the change of hue per frame", OFFSET(speed), 
     AV_OPT_TYPE_FLOAT, {.dbl=0}, -180, 180, VF },
      { NULL }
  };
diff mbox series

Patch

diff --git a/libavfilter/vf_colorize.c b/libavfilter/vf_colorize.c
index cfcf1a54fb..ad8577c8fd 100644
--- a/libavfilter/vf_colorize.c
+++ b/libavfilter/vf_colorize.c
@@ -271,10 +271,10 @@  static const AVFilterPad colorize_inputs[] = {
  #define VF 
AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_RUNTIME_PARAM
   static const AVOption colorize_options[] = {
-    { "hue",        "set the hue",                     OFFSET(hue), 
    AV_OPT_TYPE_FLOAT, {.dbl=0},  0, 360, VF },
-    { "saturation", "set the saturation", 
OFFSET(saturation), AV_OPT_TYPE_FLOAT, {.dbl=0.5},0,   1, VF },
-    { "lightness",  "set the lightness", 
OFFSET(lightness),  AV_OPT_TYPE_FLOAT, {.dbl=0.5},0,   1, VF },
-    { "mix",        "set the mix of source lightness", OFFSET(mix), 
    AV_OPT_TYPE_FLOAT, {.dbl=1},  0,   1, VF },
+    { "hue",        "set the hue",                     OFFSET(hue), 
    AV_OPT_TYPE_FLOAT, {.dbl=0},    0, 360, VF },
+    { "saturation", "set the saturation",