[FFmpeg-devel] [PATCH] configure: fix build issue of vf_dnn_processing.c when --disable-swscale

Fu, Linjie linjie.fu at intel.com
Thu Apr 2 07:15:41 EEST 2020


> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Guo, Yejun
> Sent: Thursday, April 2, 2020 11:37
> To: ffmpeg-devel at ffmpeg.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [FFmpeg-devel] [PATCH] configure: fix build issue of
> vf_dnn_processing.c when --disable-swscale
> 
> vf_dnn_processing.c recently changed to use swscale to trasfer data
> between AVFrame and dnn model.
> 
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
>  configure | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/configure b/configure
> index 21827ee..56888a5 100755
> --- a/configure
> +++ b/configure
> @@ -3498,6 +3498,7 @@ derain_filter_select="dnn"
>  deshake_filter_select="pixelutils"
>  deshake_opencl_filter_deps="opencl"
>  dilation_opencl_filter_deps="opencl"
> +dnn_processing_filter_deps="swscale"
>  dnn_processing_filter_select="dnn"
>  drawtext_filter_deps="libfreetype"
>  drawtext_filter_suggest="libfontconfig libfribidi"
> --

Looks reasonable, and verified the failure is gone with this patch.

- Linjie


More information about the ffmpeg-devel mailing list