summaryrefslogtreecommitdiffstats
path: root/pica-client/dialogs/settingsdialog.h
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-08-13 22:58:28 +0400
committerAnton <anton@picapica.im>2026-08-13 22:58:28 +0400
commit6ef469ba767574384c0373daa5363efb95102ed9 (patch)
tree1a24e3812c1d5fd30399cd9751d60484ce40a905 /pica-client/dialogs/settingsdialog.h
parent528e73385831dcd939c7e6b082fb274c27b80145 (diff)
downloadpica-pica-6ef469ba767574384c0373daa5363efb95102ed9.tar.gz
pica-pica-6ef469ba767574384c0373daa5363efb95102ed9.zip
pica-client: add support for compressed video formats provided by camera: hevc, h264, mjpeg
Diffstat (limited to 'pica-client/dialogs/settingsdialog.h')
-rw-r--r--pica-client/dialogs/settingsdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pica-client/dialogs/settingsdialog.h b/pica-client/dialogs/settingsdialog.h
index 881dd29..a6e6832 100644
--- a/pica-client/dialogs/settingsdialog.h
+++ b/pica-client/dialogs/settingsdialog.h
@@ -118,6 +118,7 @@ private:
// the network, so the whole chain can be checked from this dialog.
QPushButton *btVideoTest;
QLabel *videoPreview;
+ QCheckBox *cbPreferCompressed;
VideoDevice *testCam;
VideoDevice *testDecoder;
QThread testCamThread;
@@ -157,6 +158,7 @@ private slots:
void audioTestError(QString message);
void toggleVideoTest();
+ void videoTestCaptureStarted(QString codec, int width, int height);
void videoTestFragment(QByteArray data, bool is_last_fragment);
void videoTestFrame(QImage frame);
void videoTestError(QString message);