[vlc-devel] [PATCH 2/4] codec: vpx: copy the source projection metadata into the output

Steve Lhomme robux4 at videolabs.io
Tue Dec 6 10:13:25 CET 2016


---
 modules/codec/vpx.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/vpx.c b/modules/codec/vpx.c
index 15e3a27..14c7fd4 100644
--- a/modules/codec/vpx.c
+++ b/modules/codec/vpx.c
@@ -246,6 +246,9 @@ static picture_t *Decode(decoder_t *dec, block_t **pp_block)
             break;
     }
 
+    dec->fmt_out.video.projection_mode = dec->fmt_in.video.projection_mode;
+    dec->fmt_out.video.pose = dec->fmt_in.video.pose;
+
     if (decoder_UpdateVideoFormat(dec))
         return NULL;
     picture_t *pic = decoder_NewPicture(dec);
-- 
2.10.1



More information about the vlc-devel mailing list