avfilter/vf_vif: add missing framesync options

This commit is contained in:
Paul B Mahol 2022-12-07 12:18:56 +01:00
parent 6aa7b0c463
commit f2e0351b77

View File

@ -63,7 +63,7 @@ static const AVOption vif_options[] = {
{ NULL } { NULL }
}; };
AVFILTER_DEFINE_CLASS(vif); FRAMESYNC_DEFINE_CLASS(vif, VIFContext, fs);
static const uint8_t vif_filter1d_width1[4] = { 17, 9, 5, 3 }; static const uint8_t vif_filter1d_width1[4] = { 17, 9, 5, 3 };
@ -631,6 +631,7 @@ static const AVFilterPad vif_outputs[] = {
const AVFilter ff_vf_vif = { const AVFilter ff_vf_vif = {
.name = "vif", .name = "vif",
.description = NULL_IF_CONFIG_SMALL("Calculate the VIF between two video streams."), .description = NULL_IF_CONFIG_SMALL("Calculate the VIF between two video streams."),
.preinit = vif_framesync_preinit,
.uninit = uninit, .uninit = uninit,
.priv_size = sizeof(VIFContext), .priv_size = sizeof(VIFContext),
.priv_class = &vif_class, .priv_class = &vif_class,