vlc | branch: master | Tristan Matthews <tma...@videolan.org> | Thu Jun 28 21:11:00 2018 -0400| [a9d4ee5e83099b0ecefd58b52fd52350dd541463] | committer: Tristan Matthews
aom: decoder: pass sar values through Cherry-picked from 7d69fdb7d87f1c49352a50ee2374ae13cfeeb184 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a9d4ee5e83099b0ecefd58b52fd52350dd541463 --- modules/codec/aom.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/codec/aom.c b/modules/codec/aom.c index 5c17c33f02..b346645e80 100644 --- a/modules/codec/aom.c +++ b/modules/codec/aom.c @@ -297,6 +297,11 @@ static int OpenDecoder(vlc_object_t *p_this) dec->fmt_out.video.i_height = dec->fmt_in.video.i_height; dec->fmt_out.i_codec = VLC_CODEC_I420; + if (dec->fmt_in.video.i_sar_num > 0 && dec->fmt_in.video.i_sar_den > 0) { + dec->fmt_out.video.i_sar_num = dec->fmt_in.video.i_sar_num; + dec->fmt_out.video.i_sar_den = dec->fmt_in.video.i_sar_den; + } + return VLC_SUCCESS; } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits