Change input resolution for QCamera
问题 I have implemented a camera capture using QCamera with QAbstractVideoSurface. I extended the QAbstractVideoSurface to a derived class to marshal the captures into a buffer for future processing. Everything works fine but I am having an issue changing the capture resolution of the input capture. using setNativeResolution() does not seem to work. Below is a brief of the code. #ifndef _CAPTURE_BUFFER_H_ #define _CAPTURE_BUFFER_H_ #include <QMutex> #include <QWidget> #include <QImage> #include