Reviewed-by: Jonas Rabbe
(cherry picked from commit
f8d04d717d3d7d5d2f73cc3e8a4245130fcf600a)
Change-Id: I3b12fd3a42d16730df3fe1277ba6821b5c2ef960
Reviewed-on: http://codereview.qt.nokia.com/982
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard
*/
bool QCameraViewfinder::setMediaObject(QMediaObject *object)
{
- Q_D(QCameraViewfinder);
-
return QVideoWidget::setMediaObject(object);
}
break;
case QVideoFrame::Format_Y16:
typeName = QLatin1String("Format_Y16");
+ break;
default:
typeName = QString(QLatin1String("UserType(%1)" )).arg(int(f.pixelFormat()));
}