[FFmpeg-devel] [PATCH] Unsharp filter

Måns Rullgård mans
Thu Mar 25 21:47:44 CET 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

>> This is the one thing I cannot for the life of me figure out. How
>> can I make it so that the filter is disabled by default, but
>> automatically enabled when --enable-gpl is passed? Any tips would be
>> much appreciated.
>
> diff --git a/configure b/configure
> index 0682006..44b1d3a 100755
> --- a/configure
> +++ b/configure
> @@ -90,6 +90,7 @@ Configuration options:
>    --disable-swscale        disable libswscale build
>    --enable-postproc        enable GPLed postprocessing support [no]
>    --enable-avfilter        video filter support [no]
> +  --enable-avfilter-gpl    video filters dependent on gpl [no]
>    --enable-avfilter-lavf   video filters dependent on avformat [no]
>    --enable-beosthreads     use BeOS threads [no]
>    --enable-os2threads      use OS/2 threads [no]
> @@ -888,6 +889,7 @@ CONFIG_LIST="
>      avcodec
>      avdevice
>      avfilter
> +    avfilter_gpl
>      avfilter_lavf
>      avformat
>      avisynth
> @@ -1416,6 +1418,8 @@ udp_protocol_deps="network"
>  # filters
>  movie_filter_deps="avfilter_lavf"
>  avfilter_lavf_deps="avformat"
> +unsharp_filter_deps="avfilter_gpl"
> +avfilter_gpl_deps="gpl"

Is it not enough with unsharp_filter_deps="gpl" ?

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list