vlc | branch: master | Steve Lhomme <[email protected]> | 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 <[email protected]>

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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to