[vlc-devel] [PATCH] picture: use maximum 4 planes per picture

Steve Lhomme robux4 at ycbcr.xyz
Tue Apr 23 08:36:15 CEST 2019


We don't support any pixel format with more than 4 planes according to fourcc.c
The max is for RGBA/YUVA.
---
 include/vlc_picture.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_picture.h b/include/vlc_picture.h
index 58aba49445..9aa7a01dce 100644
--- a/include/vlc_picture.h
+++ b/include/vlc_picture.h
@@ -63,7 +63,7 @@ typedef struct plane_t
 /**
  * Maximum number of plane for a picture
  */
-#define PICTURE_PLANE_MAX (VOUT_MAX_PLANES)
+#define PICTURE_PLANE_MAX  4
 
 typedef struct picture_context_t
 {
-- 
2.17.1



More information about the vlc-devel mailing list