summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGusar321 <Gusar321@users.noreply.github.com>2016-02-20 21:46:44 +0100
committerwm4 <wm4@nowhere>2016-02-22 22:13:28 +0100
commitebc341ddd4017ecdd738d93081b0e94d1d9d386a (patch)
tree88da1ed3468f7b2b488e6b15174837a7f7aeafc9
parent87b09a180a3ba0136286559be60629ccc7612cac (diff)
downloadmpv-ebc341ddd4017ecdd738d93081b0e94d1d9d386a.tar.bz2
mpv-ebc341ddd4017ecdd738d93081b0e94d1d9d386a.tar.xz
vo_x11: add 16bpp support
-rw-r--r--video/out/vo_x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c
index d763592020..28262231ac 100644
--- a/video/out/vo_x11.c
+++ b/video/out/vo_x11.c
@@ -185,6 +185,7 @@ const struct fmt_entry {
{IMGFMT_RGB0, 32, LSBFirst, 0x000000FF, 0x0000FF00, 0x00FF0000},
{IMGFMT_BGR0, 32, MSBFirst, 0x0000FF00, 0x00FF0000, 0xFF000000},
{IMGFMT_BGR0, 32, LSBFirst, 0x00FF0000, 0x0000FF00, 0x000000FF},
+ {IMGFMT_RGB565, 16, LSBFirst, 0x0000F800, 0x000007E0, 0x0000001F},
{0}
};