Hi,
I'm working with VideoWidget and MediaObject on a GraphicsScene. Works fine, but I have found that on my Linux host I can improve performance if I set the VideoWidget to exactly the same dimenstions as the media (i.e. avoid scaling).
So, I can look at my video file using Linux tools to find the dimensions and then use VideoWidget::setFixedSize to the same dimenstions.
I want to do this programmatically, but have not been able to find any class/member that will return the frame size of a video/mediaobject.
Is this even possible in QT ?
FWIW, I am using 4.7.1 for this, so should have all the latest and greatest code.
[edit: fixed version number goof]
Bookmarks