Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.5.0 RC
-
None
-
7f9beeaf9c1f86268dee8e6f668fbf78313ffd9c
Description
On Friday 05 June 2015 10:10:52 Frederik Gladhorn wrote:
> + typedef QPair<qreal, qreal> FrameRateRange;
Should be a struct, not a QPair:
FrameRateChange chg = ...;
chg.first... // what's first???
chg.second... // what's second???
> enum Status {
> UnavailableStatus,
> UnloadedStatus,
> @@ -169,6 +172,21 @@ public:
> void setViewfinder(QGraphicsVideoItem *viewfinder);
> void setViewfinder(QAbstractVideoSurface *surface);
>
> + QCameraViewfinderSettings viewfinderSettings() const;
> + void setViewfinderSettings(const QCameraViewfinderSettings &settings);
> +
> + QList<QCameraViewfinderSettings> supportedViewfinderSettings(
> + const QCameraViewfinderSettings &settings =
> QCameraViewfinderSettings()) const;
QCameraViewFinderSettings isn't marked as movable, so should be held in
QVector instead.
> + QList<QSize> supportedViewfinderResolutions(
> + const QCameraViewfinderSettings &settings =
> QCameraViewfinderSettings()) const;
QList<QSize> should be QVector<QSize>
> + QList<FrameRateRange> supportedViewfinderFrameRateRanges(
> + const QCameraViewfinderSettings &settings =
QList<FrameRateChange> should be QVector<FrameRateChange>
> QCameraViewfinderSettings()) const; +
> + QList<QVideoFrame::PixelFormat> supportedViewfinderPixelFormats(
> + const QCameraViewfinderSettings &settings =
> QCameraViewfinderSettings()) const;
QList<PixelFormat> should be QVector<PixelFormat> (enum PixelFormat)
Thanks,
Marc
–
Marc Mutz <marc.mutz@kdab.com> | Senior Software Engineer
Attachments
Issue Links
- is required for
-
QTBUG-46579 Issues to be fixed before Qt 5.5.0 Final release
-
- Closed
-