summaryrefslogtreecommitdiff
path: root/comms/qsstv/files/patch-qsstv_videocapt_cameradialog.cpp
diff options
context:
space:
mode:
authorStephen Hurd <shurd@FreeBSD.org>2019-04-19 07:42:54 +0000
committerStephen Hurd <shurd@FreeBSD.org>2019-04-19 07:42:54 +0000
commitb39bbfc2ec1c7ba116cb2bef830acedf7aef1499 (patch)
tree8923c863694b5edb412a650acd6e2fbe3987cfbd /comms/qsstv/files/patch-qsstv_videocapt_cameradialog.cpp
parentUpdate to 0.1.b149 (diff)
Update to 9.3.3
- Open PTT serial port O_NONBLOCK so /dev/tty* can be used. - If a video device has no formats, do not add to camera list. - Add /index.html to local docURL so help will open in browser. From the changelog: 20190418 QSSTV 9.3.3 * fixed api documentation generation 20190418 QSSTV 9.3.2 * complete rewrite of the FTP interfaces. They now run in a seperate thread * removed Hybrid notify config. All hybrid configurations are in one tab: Hybrid * size of recorded wav files was internally set to 0, fixed. * tx audio to wav file was output in mono with half the samples -> fixed * scaling of images in sstv tx mode -> fixed * show image with template when loading new image ->fixed * callsign was not set/send in DRM tx * new FFT implementation * compression in DRM now based on size in stead of ratio * fix error in reedsolomon decode when no erasures found * repeater functions implemented * fixed bug in AVT24-AVT90-AVT94 * removed use VIS option in SSTV (now when a VIS code is detected, the mode is restricted to that VIS mode) * added confirmation options for delete files and program exit in gui configuration * more testing on raspberry Pi 3 model B. (compilation and execution OK) * added PKTLSB, PKTUSB and PKTFM in frequency config modulation * added passband to frequency settings * minor bug fixes
Diffstat (limited to 'comms/qsstv/files/patch-qsstv_videocapt_cameradialog.cpp')
-rw-r--r--comms/qsstv/files/patch-qsstv_videocapt_cameradialog.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/qsstv/files/patch-qsstv_videocapt_cameradialog.cpp b/comms/qsstv/files/patch-qsstv_videocapt_cameradialog.cpp
new file mode 100644
index 000000000000..17cd1e7072e3
--- /dev/null
+++ b/comms/qsstv/files/patch-qsstv_videocapt_cameradialog.cpp
@@ -0,0 +1,12 @@
+--- qsstv/videocapt/cameradialog.cpp.orig 2019-04-19 07:07:41 UTC
++++ qsstv/videocapt/cameradialog.cpp
+@@ -220,7 +220,8 @@ void cameraDialog::getCameraInfo(QString
+ formats=getFormatList(fd);
+ if(ok)
+ {
+- cameraList.append(scameraDevice(camDev,(const char *)cap.card,(const char *)cap.driver,(const char *)cap.bus_info,formats));
++ if (formats.count() > 0)
++ cameraList.append(scameraDevice(camDev,(const char *)cap.card,(const char *)cap.driver,(const char *)cap.bus_info,formats));
+ }
+ v4l2_close(fd);
+ }