mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Support per-stream resolution settings.
The code now automatically resizes as required. This change also disconnects camera resolution settings from MJPEG stream connections; setting the camera resolution can now only be done via code.
This commit is contained in:
@@ -62,9 +62,6 @@ class CvSourceImpl : public SourceImpl {
|
||||
|
||||
private:
|
||||
std::atomic_bool m_connected{true};
|
||||
std::vector<unsigned char> m_jpegBuf;
|
||||
std::vector<int> m_compressionParams;
|
||||
int m_qualityProperty;
|
||||
};
|
||||
|
||||
} // namespace cs
|
||||
|
||||
Reference in New Issue
Block a user