[vlc-commits] codec: vpx: copy the source projection metadata into the output

Steve Lhomme git at videolan.org
Mon Dec 26 16:19:14 CET 2016


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Dec  6 10:13:25 2016 +0100| [5bf3ee01298253707bd8f780b54b216ed79a8108] | committer: Jean-Baptiste Kempf

codec: vpx: copy the source projection metadata into the output

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5bf3ee01298253707bd8f780b54b216ed79a8108
---

 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);



More information about the vlc-commits mailing list