]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vaapi_vpp.c
avformat/avio: Add Metacube support
[ffmpeg] / libavfilter / vaapi_vpp.c
index b5b245c8afeb8ec69d062da49ab84225cf10038f..1610df4c859bb8320da392e1e31de126ab223c7b 100644 (file)
@@ -32,10 +32,10 @@ int ff_vaapi_vpp_query_formats(AVFilterContext *avctx)
     int err;
 
     if ((err = ff_formats_ref(ff_make_format_list(pix_fmts),
-                              &avctx->inputs[0]->out_formats)) < 0)
+                              &avctx->inputs[0]->outcfg.formats)) < 0)
         return err;
     if ((err = ff_formats_ref(ff_make_format_list(pix_fmts),
-                              &avctx->outputs[0]->in_formats)) < 0)
+                              &avctx->outputs[0]->incfg.formats)) < 0)
         return err;
 
     return 0;