summaryrefslogtreecommitdiffstats
path: root/src/plugins/gstreamer/qx11videosurface.cpp
diff options
context:
space:
mode:
authorMichael Goddard <michael.goddard@nokia.com>2011-07-18 10:32:16 +1000
committerQt by Nokia <qt-info@nokia.com>2011-07-18 05:56:15 +0200
commit1403a1c7be7892ad4d1c5d04c143a318055fb36b (patch)
tree22a4caf3f5a119dcb12874ee72d2a9bb7dd88a55 /src/plugins/gstreamer/qx11videosurface.cpp
parent7085775a115421e5fbecc02679da1558c5178e84 (diff)
Remove some obsolete bits.
They can be updated again later when things are more stable, if needed. Change-Id: I73bdacdd3d1fd43a60cd3a0c14b925fa9c32ee27 Reviewed-on: http://codereview.qt.nokia.com/1724 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com>
Diffstat (limited to 'src/plugins/gstreamer/qx11videosurface.cpp')
-rw-r--r--src/plugins/gstreamer/qx11videosurface.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/plugins/gstreamer/qx11videosurface.cpp b/src/plugins/gstreamer/qx11videosurface.cpp
index de28b5ed2..0e8ae415d 100644
--- a/src/plugins/gstreamer/qx11videosurface.cpp
+++ b/src/plugins/gstreamer/qx11videosurface.cpp
@@ -457,13 +457,7 @@ bool QX11VideoSurface::findPort()
bool portFound = false;
if (XvQueryAdaptors(QX11Info::display(), m_winId, &count, &adaptors) == Success) {
-#ifdef Q_WS_MAEMO_5
- //the overlay xvideo adapter fails to switch winId,
- //prefer the "SGX Textured Video" adapter instead
- for (int i = count-1; i >= 0 && !portFound; --i) {
-#else
for (unsigned int i = 0; i < count && !portFound; ++i) {
-#endif
if (adaptors[i].type & XvImageMask) {
m_portId = adaptors[i].base_id;