[vlc-commits] aom: decoder: pass metadata from demuxer

Tristan Matthews git at videolan.org
Fri Jun 29 03:36:51 CEST 2018


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Thu Jun 28 21:11:56 2018 -0400| [c8132e3a8e01e564726b43d8642ab1f3126fd829] | committer: Tristan Matthews

aom: decoder: pass metadata from demuxer

Cherry-picked from commits:

5bf3ee01298253707bd8f780b54b216ed79a8108
8bb28646fa95de4957df96029401481c1f45e3f2

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

 modules/codec/aom.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/codec/aom.c b/modules/codec/aom.c
index b346645e80..dd718b3124 100644
--- a/modules/codec/aom.c
+++ b/modules/codec/aom.c
@@ -230,6 +230,10 @@ static int Decode(decoder_t *dec, block_t *block)
             break;
     }
 
+    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 (decoder_UpdateVideoFormat(dec))
         return VLCDEC_SUCCESS;
     picture_t *pic = decoder_NewPicture(dec);



More information about the vlc-commits mailing list