Commit 362b0da8 authored by Felix Abecassis's avatar Felix Abecassis

android: request rotation if video is oriented

parent 19b9baa2
......@@ -173,7 +173,8 @@ static void *InitLibrary(vout_display_sys_t *sys)
static int Open(vlc_object_t *p_this)
vout_display_t *vd = (vout_display_t *)p_this;
video_format_t fmt = vd->fmt;
video_format_t fmt;
video_format_ApplyRotation(&fmt, &vd->fmt);
if (fmt.i_chroma == VLC_CODEC_ANDROID_OPAQUE)
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