Commit 91af483e authored by Martin Storsjö's avatar Martin Storsjö
Browse files

omxil_vout: Use the actual pixel size as frame size

Don't use the display size, which has taken the pixel aspect
ratio into account.

This still doesn't handle actually displaying anything with
non-square pixels correctly, though.
Signed-off-by: Martin Storsjö's avatarMartin Storsjö <>
parent a35232ca
......@@ -189,8 +189,8 @@ static int Open(vlc_object_t *p_this)
#define ALIGN(x, y) (((x) + ((y) - 1)) & ~((y) - 1))
def-> = vd->cfg->display.width;
def-> = vd->cfg->display.height;
def-> = vd->fmt.i_width;
def-> = vd->fmt.i_height;
def-> = 0;
def-> = 0;
p_sys-> = OMX_COLOR_FormatYUV420PackedPlanar;
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