Changeset 769 for trunk/src/3rdparty/phonon/mmf/videowidget.cpp
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/3rdparty/phonon/mmf/videowidget.cpp
r561 r769 19 19 #include "mediaobject.h" 20 20 #include "utils.h" 21 #include "videooutput.h"22 21 23 22 #include "videowidget.h" 23 24 #ifdef PHONON_MMF_VIDEO_SURFACES 25 #include "videooutput_surface.h" 26 #else 27 #include "videooutput_dsa.h" 28 #endif 24 29 25 30 QT_BEGIN_NAMESPACE … … 46 51 //----------------------------------------------------------------------------- 47 52 48 MMF::VideoWidget::VideoWidget 49 (AncestorMoveMonitor* ancestorMoveMonitor, QWidget* parent) 53 MMF::VideoWidget::VideoWidget(QWidget *parent) 50 54 : MediaNode(parent) 51 , m_videoOutput(new VideoOutput(ancestorMoveMonitor, parent)) 55 #ifdef PHONON_MMF_VIDEO_SURFACES 56 , m_videoOutput(new SurfaceVideoOutput(parent)) 57 #else 58 , m_videoOutput(new DsaVideoOutput(parent)) 59 #endif 52 60 , m_brightness(DefaultBrightness) 53 61 , m_contrast(DefaultContrast) … … 68 76 TRACE_EXIT_0(); 69 77 } 78 79 #ifndef PHONON_MMF_VIDEO_SURFACES 80 void MMF::VideoWidget::setAncestorMoveMonitor(AncestorMoveMonitor *monitor) 81 { 82 static_cast<DsaVideoOutput *>(m_videoOutput.data())->setAncestorMoveMonitor(monitor); 83 } 84 #endif 70 85 71 86 … … 109 124 { 110 125 TRACE_CONTEXT(VideoWidget::setScaleMode, EVideoApi); 111 TRACE("setScaleMode %d", s etScaleMode);126 TRACE("setScaleMode %d", scaleMode); 112 127 113 128 m_videoOutput->setScaleMode(scaleMode);
Note:
See TracChangeset
for help on using the changeset viewer.