X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fmjpegtools-2.2.1.patch4;fp=cinelerra-5.1%2Fthirdparty%2Fsrc%2Fmjpegtools-2.2.1.patch4;h=d0bbfd1e4c6e6969d8e40dc73eddb436bc9e7ab5;hb=58cab6b226f61565c77c1854b377b99ef3b4fa53;hp=0000000000000000000000000000000000000000;hpb=ae61c0f32b9ba1f7b318a0e34a5acf461f5abba1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/thirdparty/src/mjpegtools-2.2.1.patch4 b/cinelerra-5.1/thirdparty/src/mjpegtools-2.2.1.patch4 new file mode 100644 index 00000000..d0bbfd1e --- /dev/null +++ b/cinelerra-5.1/thirdparty/src/mjpegtools-2.2.1.patch4 @@ -0,0 +1,19 @@ +--- mjpegtools-2.1.0/y4mdenoise/newdenoise.cc.orig 2021-07-23 14:03:35.999564700 +0300 ++++ mjpegtools-2.1.0/y4mdenoise/newdenoise.cc 2021-07-23 14:04:35.779564703 +0300 +@@ -1852,14 +1852,14 @@ + if (nErr != 0) + mjpeg_error_exit1 ("pthread_attr_init() failed: %s", + strerror (nErr)); +- ++#if !defined(__TERMUX__) + // Inherit scheduling parameters from the main thread. + nErr = pthread_attr_setinheritsched (&sThreadAttributes, + PTHREAD_INHERIT_SCHED); + if (nErr != 0) + mjpeg_error_exit1 ("pthread_attr_setinheritsched() failed: %s", + strerror (nErr)); +- ++#endif + // Create the thread. + nErr = pthread_create (&m_oThreadInfo, + &sThreadAttributes, WorkLoop, (void *)this);