vlc/vlc-3.0 | branch: master | Zhao Zhili <quinkbl...@foxmail.com> | Tue Aug 7 12:47:02 2018 +0800| [05ae946c651666a2316f9ec497f00cacf5ccdab3] | committer: Thomas Guillem
mediacodec: fix rotation handling Signed-off-by: Thomas Guillem <tho...@gllm.fr> (cherry picked from commit 2142b90d7ecb2d38bb7e11db36344d3d8ed80335) Signed-off-by: Thomas Guillem <tho...@gllm.fr> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=05ae946c651666a2316f9ec497f00cacf5ccdab3 --- modules/codec/omxil/mediacodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c index 4ff8038bc3..1c8c8e5ca3 100644 --- a/modules/codec/omxil/mediacodec.c +++ b/modules/codec/omxil/mediacodec.c @@ -692,7 +692,7 @@ static int OpenDecoder(vlc_object_t *p_this, pf_MediaCodecApi_init pf_init) if (p_sys->api.b_support_rotation) { - switch (p_dec->fmt_out.video.orientation) + switch (p_dec->fmt_in.video.orientation) { case ORIENT_ROTATED_90: p_sys->video.i_angle = 90; _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits