aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libopenshot/files/patch-src_ZmqLogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libopenshot/files/patch-src_ZmqLogger.cpp')
-rw-r--r--multimedia/libopenshot/files/patch-src_ZmqLogger.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/libopenshot/files/patch-src_ZmqLogger.cpp b/multimedia/libopenshot/files/patch-src_ZmqLogger.cpp
new file mode 100644
index 000000000000..0bea39aece3c
--- /dev/null
+++ b/multimedia/libopenshot/files/patch-src_ZmqLogger.cpp
@@ -0,0 +1,20 @@
+--- src/ZmqLogger.cpp.orig 2024-06-20 01:25:10 UTC
++++ src/ZmqLogger.cpp
+@@ -44,7 +44,7 @@ ZmqLogger *ZmqLogger::Instance()
+ m_pInstance->connection = "";
+
+ // Default connection
+- m_pInstance->Connection("tcp://*:5556");
++ m_pInstance->Connection("tcp://localhost:5556");
+
+ // Init enabled to False (force user to call Enable())
+ m_pInstance->enabled = false;
+@@ -92,7 +92,7 @@ void ZmqLogger::Connection(std::string new_connection)
+
+ } catch (zmq::error_t &e) {
+ std::cout << "ZmqLogger::Connection - Error binding to " << connection << ". Switching to an available port." << std::endl;
+- connection = "tcp://*:*";
++ connection = "tcp://localhost:*";
+ publisher->bind(connection.c_str());
+ }
+