summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-03-19 02:20:44 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-03-19 02:20:44 (GMT)
commitd05ecf5998d8ef2b344f3763fbf97f7426336728 (patch)
treea4c8ec6b1fc27b163487de2c35c27955ed7c37d3 /src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp
parentcd47b6aad611dae7d143233013c48d48a5c0c192 (diff)
parentde300d7a41b0e428ba11e6061c39580c54012dc9 (diff)
downloadQt-d05ecf5998d8ef2b344f3763fbf97f7426336728.zip
Qt-d05ecf5998d8ef2b344f3763fbf97f7426336728.tar.gz
Qt-d05ecf5998d8ef2b344f3763fbf97f7426336728.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt into 4.7
Conflicts: tests/auto/declarative/qdeclarativeecmascript/testtypes.h
Diffstat (limited to 'src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp')
-rw-r--r--src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp b/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp
index 8307aa5..763f7f1 100644
--- a/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp
+++ b/src/plugins/mediaservices/gstreamer/qgstreamervideowidget.cpp
@@ -233,17 +233,17 @@ QWidget *QGstreamerVideoWidgetControl::videoWidget()
return m_widget;
}
-QVideoWidget::AspectRatioMode QGstreamerVideoWidgetControl::aspectRatioMode() const
+Qt::AspectRatioMode QGstreamerVideoWidgetControl::aspectRatioMode() const
{
return m_aspectRatioMode;
}
-void QGstreamerVideoWidgetControl::setAspectRatioMode(QVideoWidget::AspectRatioMode mode)
+void QGstreamerVideoWidgetControl::setAspectRatioMode(Qt::AspectRatioMode mode)
{
if (m_videoSink) {
g_object_set(G_OBJECT(m_videoSink),
"force-aspect-ratio",
- (mode == QVideoWidget::KeepAspectRatio),
+ (mode == Qt::KeepAspectRatio),
(const char*)NULL);
}