summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index f3f2df06f2..44008dece0 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -18,6 +18,11 @@ struct mp_hwdec_ctx {
const int *supported_formats;
// HW format used by the hwdec
int hw_imgfmt;
+
+ // The name of this hwdec's matching conversion filter if available.
+ // This will be used for hardware conversion of frame formats.
+ // NULL otherwise.
+ const char *conversion_filter_name;
};
// Used to communicate hardware decoder device handles from VO to video decoder.