summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-02-23 22:50:33 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-02-23 22:50:33 (GMT)
commitccfecf7f8259c1e584a65fefb0ca2f2dfb850eeb (patch)
tree691250169f111cad7b0d3061796f37bb364c8b70 /src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm
parentaf4f30abb88d242d1e310914b53bc91b24e45a59 (diff)
parent91ed4f664008577a095f5554372456661865dede (diff)
downloadQt-ccfecf7f8259c1e584a65fefb0ca2f2dfb850eeb.zip
Qt-ccfecf7f8259c1e584a65fefb0ca2f2dfb850eeb.tar.gz
Qt-ccfecf7f8259c1e584a65fefb0ca2f2dfb850eeb.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging: Remove active qDebugs. Player demo updated with more user-friendly previous button behaviour. Added QNetworkRequest constructor to QMediaContent. Change qml.{h,cpp} -> multimediaqml.{h,cpp} in QtMultimedia. Add private header warning.
Diffstat (limited to 'src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm')
-rw-r--r--src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm b/src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm
index 7271f5b..5047853 100644
--- a/src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm
+++ b/src/plugins/mediaservices/qt7/qt7movieviewrenderer.mm
@@ -247,7 +247,7 @@ void QT7MovieViewRenderer::setupVideoOutput()
{
AutoReleasePool pool;
- qDebug() << "QT7MovieViewRenderer::setupVideoOutput" << m_movie << m_surface;
+// qDebug() << "QT7MovieViewRenderer::setupVideoOutput" << m_movie << m_surface;
HiddenQTMovieView *movieView = (HiddenQTMovieView*)m_movieView;
@@ -274,14 +274,15 @@ void QT7MovieViewRenderer::setupVideoOutput()
QVideoSurfaceFormat format(m_nativeSize, QVideoFrame::Format_RGB32);
if (m_surface->isActive() && m_surface->surfaceFormat() != format) {
- qDebug() << "Surface format was changed, stop the surface.";
+// qDebug() << "Surface format was changed, stop the surface.";
m_surface->stop();
}
if (!m_surface->isActive()) {
- qDebug() << "Starting the surface with format" << format;
- if (!m_surface->start(format))
- qDebug() << "failed to start video surface" << m_surface->error();
+// qDebug() << "Starting the surface with format" << format;
+ m_surface->start(format);
+// if (!m_surface->start(format))
+// qDebug() << "failed to start video surface" << m_surface->error();
}
}
}