[vlc-commits] avcodec: keep the multiview_mode from the demux
Adrien Maglo
git at videolan.org
Thu Jul 27 19:02:04 CEST 2017
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Jul 26 21:24:28 2017 +0200| [36b0ad5fa6c5c03394849caccfba88ce5cf0d9fb] | committer: Jean-Baptiste Kempf
avcodec: keep the multiview_mode from the demux
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=36b0ad5fa6c5c03394849caccfba88ce5cf0d9fb
---
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 1e964bf8a4..590aa9460f 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -325,6 +325,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.multiview_mode = dec->fmt_in.video.multiview_mode;
dec->fmt_out.video.pose = dec->fmt_in.video.pose;
if ( dec->fmt_in.video.mastering.max_luminance )
dec->fmt_out.video.mastering = dec->fmt_in.video.mastering;
More information about the vlc-commits
mailing list