[vlc-devel] [PATCH 1/7] vlc_es: add multiview_unkown type

Mohammed (Shaan) Huzaifa Danish shaan3 at gmail.com
Thu Jul 13 11:11:22 CEST 2017


From: Mohammed Danish <shaan3 at gmail.com>

This is needed because not all 3D frames have 3D metadata
---
 include/vlc_es.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index e9d11d85a8..4174349b6f 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -198,8 +198,11 @@ typedef enum video_transform_t
 
 typedef enum video_multiview_mode_t
 {
+    /*Needed as some frames in 3D streams are not marked as 3D or anything else*/
+    MULTIVIEW_UNKNOWN = 0,
+
     /* No stereoscopy: 2D picture. */
-    MULTIVIEW_2D = 0,
+    MULTIVIEW_2D,
 
     /* Side-by-side with left eye first. */
     MULTIVIEW_STEREO_SBS,
-- 
2.12.2.windows.2



More information about the vlc-devel mailing list