[vlc-devel] [PATCH 2/2] avcodec: pass the VR pose information through the decoder

Steve Lhomme robux4 at videolabs.io
Tue Nov 22 18:04:29 CET 2016


--
replaces https://patches.videolan.org/patch/15118/
after the pose struct change
---
 modules/codec/avcodec/video.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 19442d4..07db5ae 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -291,6 +291,7 @@ static int lavc_UpdateVideoFormat(decoder_t *dec, AVCodecContext *ctx,
     dec->fmt_out.video = fmt_out;
     dec->fmt_out.video.orientation = dec->fmt_in.video.orientation;
     dec->fmt_out.video.projection_mode = dec->fmt_in.video.projection_mode;
+    dec->fmt_out.video.pose = dec->fmt_in.video.pose;
     return decoder_UpdateVideoFormat(dec);
 }
 
-- 
2.10.1



More information about the vlc-devel mailing list