[vlc-commits] mediacodec: fix rotation handling
Zhao Zhili
git at videolan.org
Wed Aug 8 13:53:22 CEST 2018
vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Tue Aug 7 12:47:02 2018 +0800| [d4e1b747db3f6a17ba547c1c07184db56c13c54f] | committer: Thomas Guillem
mediacodec: fix rotation handling
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d4e1b747db3f6a17ba547c1c07184db56c13c54f
---
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 9ee2cf68b3..68912a8f2d 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -705,7 +705,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;
More information about the vlc-commits
mailing list