summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices
diff options
context:
space:
mode:
authorDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2010-03-05 00:52:55 (GMT)
committerDmytro Poplavskiy <dmytro.poplavskiy@nokia.com>2010-03-05 00:52:55 (GMT)
commit43d2aeab612022228eb9357bfa7e8bb88809c64f (patch)
treec1e3a3a0d87fb85b63f5943b391c869f2b68ecac /src/plugins/mediaservices
parent5a3b9d3daf64ea686427478391d3773c5a1e024e (diff)
downloadQt-43d2aeab612022228eb9357bfa7e8bb88809c64f.zip
Qt-43d2aeab612022228eb9357bfa7e8bb88809c64f.tar.gz
Qt-43d2aeab612022228eb9357bfa7e8bb88809c64f.tar.bz2
QuickTime movie view output: emit the natural size changes
Reviewed-by: Justin McPherson
Diffstat (limited to 'src/plugins/mediaservices')
-rw-r--r--src/plugins/mediaservices/qt7/qt7movieviewoutput.mm5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm b/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm
index b90470c..d8d48d0 100644
--- a/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm
+++ b/src/plugins/mediaservices/qt7/qt7movieviewoutput.mm
@@ -201,7 +201,10 @@ void QT7MovieViewOutput::setMovie(void *movie)
void QT7MovieViewOutput::updateNaturalSize(const QSize &newSize)
{
- m_nativeSize = newSize;
+ if (m_nativeSize != newSize) {
+ m_nativeSize = newSize;
+ emit nativeSizeChanged();
+ }
}
WId QT7MovieViewOutput::winId() const