[FFmpeg-devel] [PATCH 04/10] avcodec/h2645_sei: set Monoscopic view for 2D projection

James Almer jamrial at gmail.com
Sun Jun 23 02:15:14 EEST 2024


packed view (current default) is obviously not correct.

Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/h2645_sei.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h2645_sei.c b/libavcodec/h2645_sei.c
index 7c83747cd0..b30d2c1ca8 100644
--- a/libavcodec/h2645_sei.c
+++ b/libavcodec/h2645_sei.c
@@ -714,6 +714,7 @@ int ff_h2645_sei_to_frame(AVFrame *frame, H2645SEI *sei,
 #if CONFIG_H264_SEI
         case SEI_FPA_H264_TYPE_2D:
             stereo->type = AV_STEREO3D_2D;
+            stereo->view = AV_STEREO3D_VIEW_MONO;
             break;
 #endif
         }
-- 
2.45.2



More information about the ffmpeg-devel mailing list