Skip to content

Instantly share code, notes, and snippets.

View TIS-Edgar's full-sized avatar

Edgar TIS-Edgar

  • The Imaging Source
  • Germany
View GitHub Profile
@TIS-Edgar
TIS-Edgar / prevent_thread_lock.patch
Created February 24, 2020 11:57
prevent_thread_lock.patch
diff --git a/src/gstreamer-1.0/gsttcamsrc.cpp b/src/gstreamer-1.0/gsttcamsrc.cpp
index 5ee4f01..82235bd 100644
--- a/src/gstreamer-1.0/gsttcamsrc.cpp
+++ b/src/gstreamer-1.0/gsttcamsrc.cpp
@@ -1064,7 +1064,11 @@ static void gst_tcam_src_device_lost_callback (const struct tcam_device_info* in
#endif
- gst_tcam_src_stop(GST_BASE_SRC(self));
+
diff --git a/src/arvgvstream.c b/src/arvgvstream.c
index 4dde0b2..ae032c7 100644
--- a/src/arvgvstream.c
+++ b/src/arvgvstream.c
@@ -41,12 +41,12 @@
#include <stdio.h>
#include <errno.h>
#include <arvwakeupprivate.h>
+#include <netinet/in.h>
@TIS-Edgar
TIS-Edgar / test-script.py
Created June 23, 2020 05:39
TCAM_LOG=DEBUG ./test-script.py --gst-debug=tcambin:5
#!/usr/bin/env python3
import time
import sys
import gi
gi.require_version("Tcam", "0.1")
gi.require_version("Gst", "1.0")
from gi.repository import Tcam, Gst