Hi, Em seg., 30 de dez. de 2019 às 10:55, <quinkbl...@foxmail.com> escreveu: > > From: Zhao Zhili <zhiliz...@tencent.com> > > --- > libavfilter/vf_dnn_processing.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c > index ce976ec3bd..afb7275a38 100644 > --- a/libavfilter/vf_dnn_processing.c > +++ b/libavfilter/vf_dnn_processing.c > @@ -60,7 +60,7 @@ static const AVOption dnn_processing_options[] = { > { "model", "path to model file", OFFSET(model_filename), > AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS }, > { "input", "input name of the model", OFFSET(model_inputname), > AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS }, > { "output", "output name of the model", OFFSET(model_outputname), > AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, FLAGS }, > - { "fmt", "AVPixelFormat of the frame", OFFSET(fmt), > AV_OPT_TYPE_PIXEL_FMT, { .i64=AV_PIX_FMT_RGB24 }, AV_PIX_FMT_NONE, > AV_PIX_FMT_NB - 1, FLAGS }, > + { "fmt", "AVPixelFormat of the frame", OFFSET(fmt), > AV_OPT_TYPE_PIXEL_FMT, { .i64=AV_PIX_FMT_RGB24 }, AV_PIX_FMT_NONE, INT_MAX, > FLAGS }, > { NULL } > }; > > -- > 2.22.0 The fmt parameter was removed in [1].
[1] - https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/04e6f8a143dc8bcec385e94a653b89c67cbaaca1 > > > > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".