diff --git a/build-aux/io.github.seadve.Kooha.Devel.json b/build-aux/io.github.seadve.Kooha.Devel.json index 8c6f750e..58561894 100644 --- a/build-aux/io.github.seadve.Kooha.Devel.json +++ b/build-aux/io.github.seadve.Kooha.Devel.json @@ -19,7 +19,8 @@ "--env=RUST_LOG=kooha=debug", "--env=G_MESSAGES_DEBUG=none", "--env=KOOHA_EXPERIMENTAL=1", - "--env=GST_DEBUG=3" + "--env=GST_DEBUG=3", + "--env=GST_DEBUG_DUMP_DOT_DIR=." ], "build-options": { "append-path": "/usr/lib/sdk/llvm16/bin:/usr/lib/sdk/rust-stable/bin", diff --git a/src/recording.rs b/src/recording.rs index 955ea1e4..900f26ed 100644 --- a/src/recording.rs +++ b/src/recording.rs @@ -236,7 +236,9 @@ impl Recording { || gettext("A GStreamer plugin may not be installed."), || gettext("Failed to start recording"), )?; + pipeline.debug_to_dot_file_with_ts(gst::DebugGraphDetails::VERBOSE, "kooha-pipeline"); imp.pipeline.set(pipeline.clone()).unwrap(); + let location = pipeline .by_name(FILESINK_ELEMENT_NAME) .context("Element filesink not found on pipeline")?