doc/filters: improve pseudocolor example
authorPaul B Mahol <onemda@gmail.com>
Sat, 26 Aug 2017 13:18:33 +0000 (15:18 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 26 Aug 2017 13:18:33 +0000 (15:18 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
doc/filters.texi

index be12c18..779fd53 100644 (file)
@@ -11851,7 +11851,7 @@ All expressions default to "val".
 @item
 Change too high luma values to gradient:
 @example
-pseudocolor='if(between(val,ymax,amax),lerp(ymin,ymax,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(umax,umin,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(vmin,vmax,(val-ymax)/(amax-ymax)),-1):-1'
+pseudocolor="'if(between(val,ymax,amax),lerp(ymin,ymax,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(umax,umin,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(vmin,vmax,(val-ymax)/(amax-ymax)),-1):-1'"
 @end example
 @end itemize