gstreamer: #undef a few local #defines after usage

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4541>
This commit is contained in:
Sebastian Dröge 2023-05-04 00:17:47 +03:00
parent 58fcfd8721
commit 7e12f8fb6a
3 changed files with 6 additions and 0 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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) {