From 7e12f8fb6ae87e357500caec148a20764743d8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 4 May 2023 00:17:47 +0300 Subject: [PATCH] gstreamer: #undef a few local #defines after usage Part-of: --- subprojects/gstreamer/gst/gstpluginloader-win32.c | 2 ++ subprojects/gstreamer/gst/gstpluginloader.c | 2 ++ subprojects/gstreamer/libs/gst/net/gstptpclock.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/subprojects/gstreamer/gst/gstpluginloader-win32.c b/subprojects/gstreamer/gst/gstpluginloader-win32.c index 20644e16b6..9844379cd2 100644 --- a/subprojects/gstreamer/gst/gstpluginloader-win32.c +++ b/subprojects/gstreamer/gst/gstpluginloader-win32.c @@ -514,6 +514,8 @@ gst_plugin_loader_spawn (GstPluginLoader * loader) helper_bin = g_strdup (GST_PLUGIN_SCANNER_INSTALLED); } +#undef MAX_PATH_DEPTH + GST_DEBUG ("using system plugin scanner at %s", helper_bin); res = gst_plugin_loader_try_helper (loader, helper_bin); diff --git a/subprojects/gstreamer/gst/gstpluginloader.c b/subprojects/gstreamer/gst/gstpluginloader.c index fdc6fbe398..645172f0bb 100644 --- a/subprojects/gstreamer/gst/gstpluginloader.c +++ b/subprojects/gstreamer/gst/gstpluginloader.c @@ -529,6 +529,8 @@ gst_plugin_loader_spawn (GstPluginLoader * loader) helper_bin = g_strdup (GST_PLUGIN_SCANNER_INSTALLED); } +#undef MAX_PATH_DEPTH + GST_DEBUG ("using system plugin scanner at %s", helper_bin); res = gst_plugin_loader_try_helper (loader, helper_bin); diff --git a/subprojects/gstreamer/libs/gst/net/gstptpclock.c b/subprojects/gstreamer/libs/gst/net/gstptpclock.c index dd6779c416..ff1621d7b9 100644 --- a/subprojects/gstreamer/libs/gst/net/gstptpclock.c +++ b/subprojects/gstreamer/libs/gst/net/gstptpclock.c @@ -2323,6 +2323,8 @@ gst_ptp_init (guint64 clock_id, gchar ** interfaces) } } +#undef MAX_PATH_DEPTH + GST_LOG ("Using PTP helper process: %s", argv[argc_c - 1]); if (clock_id != GST_PTP_CLOCK_ID_NONE) {