aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ptlib/ptlib-fixcamcrash.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/ptlib/ptlib-fixcamcrash.patch
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/ptlib/ptlib-fixcamcrash.patch')
-rw-r--r--unmaintained/ptlib/ptlib-fixcamcrash.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/unmaintained/ptlib/ptlib-fixcamcrash.patch b/unmaintained/ptlib/ptlib-fixcamcrash.patch
new file mode 100644
index 0000000000..10c6dd79f4
--- /dev/null
+++ b/unmaintained/ptlib/ptlib-fixcamcrash.patch
@@ -0,0 +1,30 @@
+--- ptlib-2.10.10/plugins/vidinput_v4l2/vidinput_v4l2.cxx.orig 2013-02-20 02:12:05.000000000 +0000
++++ ptlib-2.10.10/plugins/vidinput_v4l2/vidinput_v4l2.cxx 2013-03-08 00:07:18.812865388 +0000
+@@ -30,9 +30,9 @@
+ * Contributor(s): Guilhem Tardy (gtardy@salyens.com)
+ * Nicola Orru' <nigu@itadinanta.it>
+ *
+- * $Revision: 27739 $
+- * $Author: rjongbloed $
+- * $Date: 2012-05-30 18:49:09 -0500 (Wed, 30 May 2012) $
++ * $Revision: 29220 $
++ * $Author: ededu $
++ * $Date: 2013-03-07 18:22:08 +0000 (Thu, 07 Mar 2013) $
+ */
+
+ #pragma implementation "vidinput_v4l2.h"
+@@ -219,9 +219,11 @@
+ canSetFrameRate = videoStreamParm.parm.capture.capability & V4L2_CAP_TIMEPERFRAME;
+ if (canSetFrameRate) {
+ if (videoStreamParm.parm.capture.timeperframe.numerator == 0) {
+- PTRACE(1,"PVidInDev\tnumerator is zero and denominator is " << videoStreamParm.parm.capture.timeperframe.denominator << ", driver bug??");
+- }
+- PVideoDevice::SetFrameRate (videoStreamParm.parm.capture.timeperframe.denominator / videoStreamParm.parm.capture.timeperframe.numerator);
++ PTRACE(1,"PVidInDev\tDriver/webcam bug: numerator is zero and denominator is " << videoStreamParm.parm.capture.timeperframe.denominator << ", I assume it cannot set frame rate");
++ canSetFrameRate = PFalse;
++ } else
++ PVideoDevice::SetFrameRate (videoStreamParm.parm.capture.timeperframe.denominator / videoStreamParm.parm.capture.timeperframe.numerator);
++
+ }
+ }
+