Add a shell/ subdir for shell examples
[experiments/gstreamer.git] / shell / gst-debug-dump-dot-files.sh
diff --git a/shell/gst-debug-dump-dot-files.sh b/shell/gst-debug-dump-dot-files.sh
new file mode 100755 (executable)
index 0000000..39e0141
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+rm -rf dot_files
+mkdir dot_files
+GST_DEBUG_DUMP_DOT_DIR="$(pwd)/dot_files" \
+  gst-launch-1.0 videotestsrc ! autovideosink