summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2018-02-20 01:59:20 +0200
committerJan Ekström <jeebjp@gmail.com>2018-02-20 01:59:20 +0200
commit5d6fb5267d9ddc85e6084665ab6b20a06d214bbc (patch)
tree3aa088cb3725157ba7b3b2bf1f42bbceb70663d4
parent13b90bcf9172f4e550c2114ec7c02425441625ce (diff)
downloadmpv-5d6fb5267d9ddc85e6084665ab6b20a06d214bbc.tar.bz2
mpv-5d6fb5267d9ddc85e6084665ab6b20a06d214bbc.tar.xz
vo_mediacodec_embed: fix forgotten VO_CAP_NOREDRAW→VO_CAP_NORETAIN
Fixes compilation of this module.
-rw-r--r--video/out/vo_mediacodec_embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_mediacodec_embed.c b/video/out/vo_mediacodec_embed.c
index 63975e9408..dc2974918b 100644
--- a/video/out/vo_mediacodec_embed.c
+++ b/video/out/vo_mediacodec_embed.c
@@ -107,7 +107,7 @@ static void uninit(struct vo *vo)
const struct vo_driver video_out_mediacodec_embed = {
.description = "Android (Embedded MediaCodec Surface)",
.name = "mediacodec_embed",
- .caps = VO_CAP_NOREDRAW,
+ .caps = VO_CAP_NORETAIN,
.preinit = preinit,
.query_format = query_format,
.control = control,