summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r--video/sws_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/sws_utils.h b/video/sws_utils.h
index 2c7af5eac0..9e7f24e0a7 100644
--- a/video/sws_utils.h
+++ b/video/sws_utils.h
@@ -44,6 +44,10 @@ struct mp_sws_context {
// This is unfortunately a hack: bypass command line choice
enum mp_sws_scaler force_scaler;
+ // If zimg is used. Need to manually invalidate cache (set force_reload).
+ // Conflicts with enabling command line opts.
+ struct zimg_opts *zimg_opts;
+
// Changing these requires setting force_reload=true.
// By default, they are NULL.
// Freeing the mp_sws_context will deallocate these if set.