GraphicsItemRenderer aspect ratio change state

It's seems right. but why other renderer do not have this problem?
This commit is contained in:
wang-bin
2013-04-04 10:34:51 +08:00
parent 0c7ae74f1f
commit e9c00a80cd
+1
View File
@@ -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