additional TERMUX related mods from Andrew
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / brender.C
index 9fc3355afe2848387d03d243240b5b6b757894a2..49580c9f041fbed049476333285ab46bc6d818b2 100644 (file)
@@ -103,6 +103,9 @@ void BRender::initialize()
 // Create socket for background process.
        uuid_t socket_temp;
        sprintf(socket_path, "/tmp/cinelerra.");
+#if defined(__TERMUX__)
+       sprintf(socket_path, "/data/data/com.termux/files/home/tmp/cinelerra.");
+#endif
        uuid_generate(socket_temp);
        uuid_unparse(socket_temp, socket_path + strlen(socket_path));
 SET_TEMP(socket_path);