summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/defs.h
diff options
context:
space:
mode:
authorGareth Stockwell <gareth.stockwell@sosco.com>2009-08-26 08:38:13 (GMT)
committerGareth Stockwell <gareth.stockwell@sosco.com>2009-08-26 08:38:13 (GMT)
commit8076ee4317333112a529b9df5e7ab0a44e101d16 (patch)
tree90e8a1cfb9f9da575d090a26225ba8f70947beeb /src/3rdparty/phonon/mmf/defs.h
parent55dcdac49aeaf9a7af9d420140e7629682fa4573 (diff)
downloadQt-8076ee4317333112a529b9df5e7ab0a44e101d16.zip
Qt-8076ee4317333112a529b9df5e7ab0a44e101d16.tar.gz
Qt-8076ee4317333112a529b9df5e7ab0a44e101d16.tar.bz2
Added a bit more tracing for debugging video visibility
Diffstat (limited to 'src/3rdparty/phonon/mmf/defs.h')
-rw-r--r--src/3rdparty/phonon/mmf/defs.h26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/3rdparty/phonon/mmf/defs.h b/src/3rdparty/phonon/mmf/defs.h
index adf2882..0a9a683 100644
--- a/src/3rdparty/phonon/mmf/defs.h
+++ b/src/3rdparty/phonon/mmf/defs.h
@@ -25,8 +25,10 @@ along with this library. If not, see <http://www.gnu.org/licenses/>.
// in order to debug the current problems with video visibility.
// If this is defined, then VideoOutput is essentially just a typedef for
-// QWidget
-#define PHONON_MMF_VIDEOOUTPUT_IS_QWIDGET
+// QWidget. This is to allow us to test whether the QWidget function
+// overrides present in VideoOutput (e.g. sizeHint, paintEvent etc) may
+// be the cause of the visibility problems.
+//#define PHONON_MMF_VIDEOOUTPUT_IS_QWIDGET
// Use hard-coded rectangle coordinates, rather than using CCoeControl
// rect, i.e. QWidget::winId()->Rect()
@@ -40,16 +42,16 @@ namespace Phonon
{
namespace MMF
{
- static const qint32 DefaultTickInterval = 10;
- static const qreal InitialVolume = 0.5;
-
- enum MediaType
- {
- MediaTypeUnknown,
- MediaTypeAudio,
- MediaTypeVideo
- };
+ static const qint32 DefaultTickInterval = 10;
+ static const qreal InitialVolume = 0.5;
+
+ enum MediaType
+ {
+ MediaTypeUnknown,
+ MediaTypeAudio,
+ MediaTypeVideo
+ };
}
}
-#endif
+#endif // PHONON_MMF_DEFS_H