[vlc-commits] codec: avcodec: copy the source pose 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:24 2016 +0100| [fc633fdc6cb174a50035dc9ca1a55ea021532219] | committer: Jean-Baptiste Kempf

codec: avcodec: copy the source pose into the output

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

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

 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 0c70800..461057d 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);
 }
 



More information about the vlc-commits mailing list