diff options
Diffstat (limited to 'filters/f_swscale.h')
-rw-r--r-- | filters/f_swscale.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/filters/f_swscale.h b/filters/f_swscale.h index fd5aa11f5e..6e26aef1ac 100644 --- a/filters/f_swscale.h +++ b/filters/f_swscale.h @@ -2,10 +2,15 @@ #include <stdbool.h> +#include "video/mp_image.h" + struct mp_sws_filter { struct mp_filter *f; // Desired output imgfmt. If 0, uses the input format. int out_format; + // If set, force all image params; ignores out_format. + bool use_out_params; + struct mp_image_params out_params; // private state struct mp_sws_context *sws; struct mp_image_pool *pool; |