[vlc-devel] [PATCH 3/7] video_format: add a interlaced flag in the video format

Steve Lhomme robux4 at ycbcr.xyz
Fri Nov 6 15:42:10 CET 2020


So we can catch format differences to detect interlace mode changes in push
mode.
---
 include/vlc_es.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index 404a937d833..0e60b9f0df7 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -376,6 +376,8 @@ struct video_format_t
     video_multiview_mode_t multiview_mode;        /** Multiview mode, 2D, 3D */
     bool b_multiview_right_eye_first;   /** Multiview left or right eye first*/
 
+    bool            interlaced;               /**< progressive or interlaced */
+
     video_projection_mode_t projection_mode;            /**< projection mode */
     vlc_viewpoint_t pose;
     struct {
-- 
2.26.2



More information about the vlc-devel mailing list