From e9c00a80cd37d53f33d3940d088bbce648337283 Mon Sep 17 00:00:00 2001 From: wang-bin Date: Sat, 23 Mar 2013 00:43:06 +0800 Subject: [PATCH] GraphicsItemRenderer aspect ratio change state It's seems right. but why other renderer do not have this problem? --- src/VideoRenderer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/VideoRenderer.cpp b/src/VideoRenderer.cpp index 78874ea7..a899832b 100644 --- a/src/VideoRenderer.cpp +++ b/src/VideoRenderer.cpp @@ -123,6 +123,7 @@ void VideoRenderer::setInSize(int width, int height) //source_aspect_ratio equals to original video aspect ratio here, also equals to out ratio setOutAspectRatio(d.source_aspect_ratio); } + d.aspect_ratio_changed = false; //TODO: why graphicsitemrenderer need this? otherwise aspect_ratio_changed is always true? } QSize VideoRenderer::lastSize() const