--- a/src/3rdparty/phonon/mmf/videowidget.h Mon Mar 15 12:43:09 2010 +0200
+++ b/src/3rdparty/phonon/mmf/videowidget.h Thu Apr 08 14:19:33 2010 +0300
@@ -19,8 +19,8 @@
#ifndef PHONON_MMF_VIDEOWIDGET_H
#define PHONON_MMF_VIDEOWIDGET_H
+#include "abstractvideooutput.h"
#include "mmf_medianode.h"
-#include "videooutput.h"
#include <QtGui/QWidget>
#include <phonon/videowidget.h>
@@ -32,8 +32,9 @@
{
namespace MMF
{
+#ifndef PHONON_MMF_VIDEO_SURFACES
class AncestorMoveMonitor;
-class VideoOutput;
+#endif
class VideoWidget : public MediaNode
, public Phonon::VideoWidgetInterface
@@ -42,9 +43,13 @@
Q_INTERFACES(Phonon::VideoWidgetInterface)
public:
- VideoWidget(AncestorMoveMonitor* ancestorMoveMonitor, QWidget* parent);
+ VideoWidget(QWidget* parent);
~VideoWidget();
+#ifndef PHONON_MMF_VIDEO_SURFACES
+ void setAncestorMoveMonitor(AncestorMoveMonitor *ancestorMoveMonitor);
+#endif
+
// VideoWidgetInterface
virtual Phonon::VideoWidget::AspectRatio aspectRatio() const;
virtual void setAspectRatio(Phonon::VideoWidget::AspectRatio aspectRatio);
@@ -66,7 +71,7 @@
void disconnectMediaObject(MediaObject *mediaObject);
private:
- QScopedPointer<VideoOutput> m_videoOutput;
+ QScopedPointer<AbstractVideoOutput> m_videoOutput;
qreal m_brightness;
qreal m_contrast;