mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-27 10:36:55 +08:00
GraphicsItemRenderer aspect ratio change state
It's seems right. but why other renderer do not have this problem?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user