[PATCH spice-streaming-agent 2/4] gst-plugin: Allow generation gstreamer dot file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]