summaryrefslogtreecommitdiffstats
path: root/video/fmt-conversion.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-04-29 22:38:54 +0200
committerwm4 <wm4@nowhere>2016-04-29 22:38:54 +0200
commitbda111018c2440e0af70b462d24c757beb37b11f (patch)
treedbe1ecbeec1cbc5acf69dedbbf498e48fd636899 /video/fmt-conversion.c
parent0ed206abd94641ab44f4693169fbbbd8a33fa121 (diff)
downloadmpv-bda111018c2440e0af70b462d24c757beb37b11f.tar.bz2
mpv-bda111018c2440e0af70b462d24c757beb37b11f.tar.xz
video: add IMGFMT_P010 alias
Gets rid of some silliness, and might be useful in the future.
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r--video/fmt-conversion.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c
index 53342060b1..0a64bae83b 100644
--- a/video/fmt-conversion.c
+++ b/video/fmt-conversion.c
@@ -116,6 +116,10 @@ static const struct {
{IMGFMT_MMAL, AV_PIX_FMT_MMAL},
#endif
+#ifdef AV_PIX_FMT_P010
+ {IMGFMT_P010, AV_PIX_FMT_P010},
+#endif
+
{0, AV_PIX_FMT_NONE}
};