summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2014-03-03 15:15:00 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-03 16:45:47 +0100
commit16430262d9068f5f2ce5c2b4a16e8f71c4442254 (patch)
treeea9ff3a55a2f8401a126355f3779df96b21e74e8 /src
parent8c9b6f67a73824aab8c74df7a1254425985fd8a5 (diff)
downloadqtmultimedia-16430262d9068f5f2ce5c2b4a16e8f71c4442254.tar.gz
qtmultimedia-16430262d9068f5f2ce5c2b4a16e8f71c4442254.tar.bz2
qtmultimedia-16430262d9068f5f2ce5c2b4a16e8f71c4442254.zip
AVFoundation: Remove debug code
Some debug code made it into the released code, so each time you used the QWidget based video player the terminal would print data about the window frame size. Change-Id: I86eb00ce5edb23b7a2abf6a63893cd17aaeb0ee3 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/avfoundation/mediaplayer/avfvideowidget.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/avfoundation/mediaplayer/avfvideowidget.mm b/src/plugins/avfoundation/mediaplayer/avfvideowidget.mm
index 2e4de37f..d4fa7c4c 100644
--- a/src/plugins/avfoundation/mediaplayer/avfvideowidget.mm
+++ b/src/plugins/avfoundation/mediaplayer/avfvideowidget.mm
@@ -121,7 +121,7 @@ void AVFVideoWidget::setPlayerLayer(AVPlayerLayer *layer)
[nativeLayer addSublayer:m_playerLayer];
updatePlayerLayerBounds(this->size());
}
-
+#ifdef QT_DEBUG_AVF
NSArray *sublayers = [nativeLayer sublayers];
qDebug() << "playerlayer: " << "at z:" << [m_playerLayer zPosition]
<< " frame: " << m_playerLayer.frame.size.width << "x" << m_playerLayer.frame.size.height;
@@ -133,7 +133,7 @@ void AVFVideoWidget::setPlayerLayer(AVPlayerLayer *layer)
<< " frame: " << layer.frame.size.width << "x" << layer.frame.size.height;
i++;
}
-
+#endif
}