diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-02 13:20:04 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-06-02 13:23:02 (GMT) |
commit | 7a095c52057633e9050e74622f8a990738c2741b (patch) | |
tree | d019701bb3224027af86922310915b2202a844ba /src/3rdparty/phonon/ds9/videowidget.cpp | |
parent | 5be3335436501c5e0d3f5cb047edba1371aeb187 (diff) | |
download | Qt-7a095c52057633e9050e74622f8a990738c2741b.zip Qt-7a095c52057633e9050e74622f8a990738c2741b.tar.gz Qt-7a095c52057633e9050e74622f8a990738c2741b.tar.bz2 |
Fixed aspect ratio on Windows
- When changing the aspect ratio, the video wouldn't update.
- The VMR9 can in some cases try to manage the aspect ratio itself
and then fights our system. This is now disabled.
Diffstat (limited to 'src/3rdparty/phonon/ds9/videowidget.cpp')
-rw-r--r-- | src/3rdparty/phonon/ds9/videowidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/3rdparty/phonon/ds9/videowidget.cpp b/src/3rdparty/phonon/ds9/videowidget.cpp index de7ce5f..0ef653f 100644 --- a/src/3rdparty/phonon/ds9/videowidget.cpp +++ b/src/3rdparty/phonon/ds9/videowidget.cpp @@ -261,6 +261,7 @@ namespace Phonon { m_aspectRatio = aspectRatio; updateVideoSize(); + m_widget->update(); } Phonon::VideoWidget::ScaleMode VideoWidget::scaleMode() const @@ -279,6 +280,7 @@ namespace Phonon { m_scaleMode = scaleMode; updateVideoSize(); + m_widget->update(); } void VideoWidget::setBrightness(qreal b) |