[Spice-devel] [PATCH spice-streaming-agent 2/4] gst-plugin: Allow generation gstreamer dot file
Snir Sheriber
ssheribe at redhat.com
Thu Aug 1 15:01:17 UTC 2019
Set GST_DEBUG_DUMP_DOT_DIR to specify where to place the generated
.dot file
---
src/gst-plugin.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gst-plugin.cpp b/src/gst-plugin.cpp
index e9d9364..0a1d041 100644
--- a/src/gst-plugin.cpp
+++ b/src/gst-plugin.cpp
@@ -261,7 +261,7 @@ void GstreamerFrameCapture::pipeline_init(const GstreamerEncoderSettings &settin
}
gst_element_set_state(pipeline.get(), GST_STATE_PLAYING);
-
+ GST_DEBUG_BIN_TO_DOT_FILE(bin, GST_DEBUG_GRAPH_SHOW_VERBOSE, "gst-plugin-pipeline-debug");
#if !XLIB_CAPTURE
int sx, sy, ex, ey;
g_object_get(capture.get(),
--
2.21.0
More information about the Spice-devel
mailing list