[vlc-devel] [PATCH v2 1/2] vlc_es: define ORIENT_MAX

Alexandre Janniaux ajanni at videolabs.io
Mon Jan 25 10:00:25 UTC 2021


---
 include/vlc_es.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index 404a937d83..193c61bff6 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -184,6 +184,7 @@ typedef enum video_orientation_t
     ORIENT_LEFT_BOTTOM, /**< Rotated 90 degrees anti-clockwise */
     ORIENT_RIGHT_TOP, /**< Rotated 90 degrees clockwise */
     ORIENT_RIGHT_BOTTOM, /**< Anti-transposed */
+#define ORIENT_MAX ((size_t)ORIENT_RIGHT_BOTTOM)
 
     ORIENT_NORMAL      = ORIENT_TOP_LEFT,
     ORIENT_TRANSPOSED  = ORIENT_LEFT_TOP,
-- 
2.30.0



More information about the vlc-devel mailing list