From: Dan Flett <[email protected]>

Tested on a Raspberry Pi.
---
 libavdevice/fbdev.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavdevice/fbdev.c b/libavdevice/fbdev.c
index 27e2ed3..f079e4e 100644
--- a/libavdevice/fbdev.c
+++ b/libavdevice/fbdev.c
@@ -58,6 +58,7 @@ static struct rgb_pixfmt_map_entry rgb_pixfmt_map[] = {
     {  32,       3,           2,           8,            0,   AV_PIX_FMT_ABGR  
},
     {  24,       0,           8,          16,            0,   AV_PIX_FMT_RGB24 
},
     {  24,      16,           8,           0,            0,   AV_PIX_FMT_BGR24 
},
+    {  16,      11,           5,           0,           16,   
AV_PIX_FMT_RGB565 },
 };
 
 static enum AVPixelFormat get_pixfmt_from_fb_varinfo(struct fb_var_screeninfo 
*varinfo)
-- 
1.7.10.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to