static av_cold int init(AVFilterContext *context)
{
SRContext *sr_context = context->priv;
- return ff_dnn_init(&sr_context->dnnctx, context);
+ return ff_dnn_init(&sr_context->dnnctx, DFT_PROCESS_FRAME, context);
}
static int query_formats(AVFilterContext *context)
{ NULL }
};
-AVFilter ff_vf_sr = {
+const AVFilter ff_vf_sr = {
.name = "sr",
.description = NULL_IF_CONFIG_SMALL("Apply DNN-based image super resolution to the input."),
.priv_size = sizeof(SRContext),