summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-04-03 14:17:43 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2022-04-05 15:02:18 +0200
commitf61eda0f5e9f8085003c4c31111db525a438cbc1 (patch)
tree59d4f76dded9c8028730d42751b881fa2c76485c /video/out/vo.h
parent4149cc2ce31dfb5485fe7a947c3f6356e0bd1583 (diff)
downloadmpv-f61eda0f5e9f8085003c4c31111db525a438cbc1.tar.bz2
mpv-f61eda0f5e9f8085003c4c31111db525a438cbc1.tar.xz
vd_lavc: add vo caps and option to set GPU film grain application
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 63d6c7caa7..8ccfe3ccfe 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -180,6 +180,8 @@ enum {
VO_CAP_FRAMEDROP = 1 << 1,
// VO does not allow frames to be retained (vo_mediacodec_embed).
VO_CAP_NORETAIN = 1 << 2,
+ // VO supports applying film grain
+ VO_CAP_FILM_GRAIN = 1 << 3,
};
#define VO_MAX_REQ_FRAMES 10