diff --git a/libavfilter/vulkan_filter.c b/libavfilter/vulkan_filter.c index d3dc2fdacb..cef42eeb4d 100644 --- a/libavfilter/vulkan_filter.c +++ b/libavfilter/vulkan_filter.c @@ -187,6 +187,7 @@ int ff_vk_filter_config_input(AVFilterLink *inlink) s->input_frames_ref = inlink->hw_frames_ctx; /* Defaults */ + s->input_format = input_frames->sw_format; s->output_format = input_frames->sw_format; s->output_width = inlink->w; s->output_height = inlink->h;