[FFmpeg-devel] [PATCH] Add support for lavfi filter long names

Stefano Sabatini stefano.sabatini-lala
Thu Oct 22 00:37:08 CEST 2009


On date Wednesday 2009-10-21 00:39:12 +0200, Stefano Sabatini encoded:
> On date Tuesday 2009-10-20 01:20:38 +0200, Michael Niedermayer encoded:
[...]
> > somthing tells me that description would be better than long_name
> > like in "(Filter that )flips the given image vertically"
> 
> Absolutely, patch updated.
> 
> > but anyway iam fine with this, the color is for others to fight over
> 
> [...]
> 
> Regards.
> -- 
> FFmpeg = Fierce and Fundamentalist Mythic Patchable Egregious Gangster

> Index: libavfilter/avfilter.h
> ===================================================================
> --- libavfilter/avfilter.h	(revision 20314)
> +++ libavfilter/avfilter.h	(working copy)
> @@ -23,7 +23,7 @@
>  #define AVFILTER_AVFILTER_H
>  
>  #define LIBAVFILTER_VERSION_MAJOR  1
> -#define LIBAVFILTER_VERSION_MINOR  3
> +#define LIBAVFILTER_VERSION_MINOR  4
>  #define LIBAVFILTER_VERSION_MICRO  0
>  
>  #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
> @@ -426,6 +426,12 @@
>      AVFilterLink **outputs;         ///< array of pointers to output links
>  
>      void *priv;                     ///< private data for use by the filter
> +
> +    /**
> +     * A description for the filter. You should use the
> +     * NULL_IF_CONFIG_SMALL() macro to define it.
> +     */
> +    const char *description;
>  };

If no one has objections or better ideas I'll apply it soon.

Regards.
-- 
FFmpeg = Fundamentalist Fiendish Muttering Perennial Enchanting Geisha



More information about the ffmpeg-devel mailing list