[totem/wip/hadess/meson-hang-debug: 1/2] XXX gst-inspect debug
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/meson-hang-debug: 1/2] XXX gst-inspect debug
- Date: Mon, 10 Jan 2022 16:34:27 +0000 (UTC)
commit ba6fa6a5172f640dcd199559892392eec9b9b7a3
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 10 17:16:58 2022 +0100
XXX gst-inspect debug
src/backend/gst-inspect-debug.sh | 3 +++
src/backend/meson.build | 12 +++++++-----
2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/src/backend/gst-inspect-debug.sh b/src/backend/gst-inspect-debug.sh
new file mode 100755
index 000000000..9c8d25e97
--- /dev/null
+++ b/src/backend/gst-inspect-debug.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+GST_DEBUG=*:5 gst-inspect-1.0 "$1" > $MESON_BUILD_ROOT/meson-logs/gst-inspect-$1-log.txt
diff --git a/src/backend/meson.build b/src/backend/meson.build
index 9bd9e468e..8415b8b56 100644
--- a/src/backend/meson.build
+++ b/src/backend/meson.build
@@ -1,10 +1,12 @@
backend_inc = include_directories('.')
-gst_inspect = find_program(
- 'gst-inspect-1.0',
- join_paths(gst_dep.get_pkgconfig_variable('toolsdir'), 'gst-inspect-1.0'),
- required: false
-)
+#gst_inspect = find_program(
+# 'gst-inspect-1.0',
+# join_paths(gst_dep.get_pkgconfig_variable('toolsdir'), 'gst-inspect-1.0'),
+# required: false
+#)
+
+gst_inspect = find_program ('gst-inspect-debug.sh', 'src/backend/gst-inspect-debug.sh')
assert(gst_inspect.found(),
'Cannot find required GStreamer-1.0 tool "gst-inspect-1.0". It should be part of gstreamer-1_0-utils.
Please install it.')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]