diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-07 16:11:07 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-09 06:49:34 (GMT) |
commit | 8fa32c467549d346024f4bd6b4518c7012a5cf55 (patch) | |
tree | 3df7b783dd2c82713307b6acc1c950609df12ce6 /src/3rdparty | |
parent | 37e34f7132298da5519f7f0466f91ed2670a1ac8 (diff) | |
download | Qt-8fa32c467549d346024f4bd6b4518c7012a5cf55.zip Qt-8fa32c467549d346024f4bd6b4518c7012a5cf55.tar.gz Qt-8fa32c467549d346024f4bd6b4518c7012a5cf55.tar.bz2 |
Modified getDsaRegion to be compiled only in debug builds
Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/phonon/mmf/mmf_videoplayer.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp index 251a3b9..fdb7ff4 100644 --- a/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp +++ b/src/3rdparty/phonon/mmf/mmf_videoplayer.cpp @@ -340,7 +340,13 @@ void MMF::VideoPlayer::videoOutputRegionChanged() TRACE_EXIT_0(); } -// DEBUGGING *** DO NOT INTEGRATE *** + +#ifdef _DEBUG + +// The following code is for debugging problems related to video visibility. It allows +// the VideoPlayer instance to query the window server in order to determine the +// DSA drawing region for the video window. + class CDummyAO : public CActive { public: @@ -351,7 +357,6 @@ public: void SetActive() { CActive::SetActive(); } }; -// DEBUGGING *** DO NOT INTEGRATE *** void getDsaRegion(RWsSession &session, const RWindowBase &window) { RDirectScreenAccess dsa(session); @@ -404,9 +409,9 @@ void MMF::VideoPlayer::updateMmfOutput() TRACE("SetDisplayWindowL error %d", err); setError(NormalError); } - + m_mmfOutputChangePending = false; - + TRACE_EXIT_0(); } |