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>
This commit is contained in:
committed by
Qt by Nokia
parent
7085775a11
commit
1403a1c7be
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user