[FFmpeg-devel] [PATCH] doc/filters: remove quotes from zoompan example

Clément Bœsch u at pkh.me
Wed Jun 11 23:08:39 CEST 2014


On Wed, Jun 11, 2014 at 12:59:11PM -0800, Lou Logan wrote:
> Signed-off-by: Lou Logan <lou at lrcd.com>
> ---
> ubitux in #ffmpeg-devel informed me that they were wrong.
> 
>  doc/filters.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/doc/filters.texi b/doc/filters.texi
> index e325bb5..73f3f29 100644
> --- a/doc/filters.texi
> +++ b/doc/filters.texi
> @@ -8930,7 +8930,7 @@ display aspect ratio
>  @item
>  Zoom-in up to 1.5 and pan at same time to some spot near center of picture:
>  @example
> -"zoompan=z=min(zoom+0.0015\,1.5):d=700:x=if(gte(zoom\,1.5)\,x\,x+1/a):y=if(gte(zoom\,1.5)\,y\,y+1):s=640x360"
> +zoompan=z=min(zoom+0.0015\,1.5):d=700:x=if(gte(zoom\,1.5)\,x\,x+1/a):y=if(gte(zoom\,1.5)\,y\,y+1):s=640x360
>  @end example

I even think something like that will be even clearer:

zoompan=z='min(zoom+0.0015,1.5)':d=700:x='if(gte(zoom,1.5),x,x+1/a)':y='if(gte(zoom,1.5),y,y+1)':s=640x360

I think that's the common way we tend to present filter examples

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140611/45459ca1/attachment.asc>


More information about the ffmpeg-devel mailing list