alternative shortcuts; cd cinelerra-5.1; patch -p1 -i alt_shortcuts.patch
[goodguy/cinelerra.git] / cinelerra-5.1 / thirdparty / src / mjpegtools-2.1.0.patch4
1 --- mjpegtools-2.1.0/y4mdenoise/newdenoise.cc.orig      2021-07-23 14:03:35.999564700 +0300
2 +++ mjpegtools-2.1.0/y4mdenoise/newdenoise.cc   2021-07-23 14:04:35.779564703 +0300
3 @@ -1852,14 +1852,14 @@
4         if (nErr != 0)
5                 mjpeg_error_exit1 ("pthread_attr_init() failed: %s",
6                         strerror (nErr));
7 -
8 +#if !defined(__TERMUX__)
9         // Inherit scheduling parameters from the main thread.
10         nErr = pthread_attr_setinheritsched (&sThreadAttributes,
11                 PTHREAD_INHERIT_SCHED);
12         if (nErr != 0)
13                 mjpeg_error_exit1 ("pthread_attr_setinheritsched() failed: %s",
14                         strerror (nErr));
15 -       
16 +#endif
17         // Create the thread.
18         nErr = pthread_create (&m_oThreadInfo,
19                 &sThreadAttributes, WorkLoop, (void *)this);