From 8520bf83c96d41799e530e77ab83f6c8ba53d64e Mon Sep 17 00:00:00 2001 From: "Joshua M. Doe" Date: Mon, 7 Jun 2021 09:22:38 -0400 Subject: [PATCH] gentlsrc: allow interface to be reopened in same process --- sys/gentl/gstgentlsrc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/gentl/gstgentlsrc.c b/sys/gentl/gstgentlsrc.c index 2d0df47..55abe61 100644 --- a/sys/gentl/gstgentlsrc.c +++ b/sys/gentl/gstgentlsrc.c @@ -1471,7 +1471,8 @@ gst_gentlsrc_cleanup_tl (GstGenTlSrc * src) g_mutex_unlock (&klass->tl_mutex); src->hTL = NULL; - GTL_GCCloseLib (); + // don't close library, otherwise we can't reopen in the same process + //GTL_GCCloseLib (); } }