Commit 920f5b4d authored by Thomas Guillem's avatar Thomas Guillem

mediacodec: fix i_angle not initialized to 0

parent c4a54bae
......@@ -357,8 +357,6 @@ static int StartMediaCodec(decoder_t *p_dec)
args.video.i_width = p_sys->u.video.i_width;
args.video.i_height = p_sys->u.video.i_height;
if (p_dec->fmt_in.video.orientation != ORIENT_NORMAL)
{
switch (p_dec->fmt_in.video.orientation)
{
case ORIENT_ROTATED_90:
......@@ -373,7 +371,6 @@ static int StartMediaCodec(decoder_t *p_dec)
default:
args.video.i_angle = 0;
}
}
/* Check again the codec name if h264 profile changed */
if (p_dec->fmt_in.i_codec == VLC_CODEC_H264
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment