Skip to content

Commit

Permalink
stream: video_stream_udp: Output pipeline to dot file
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
  • Loading branch information
patrickelectric committed Apr 2, 2021
1 parent 84ad9df commit a8c4b37
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/stream/video_stream_udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,17 @@ fn run_video_stream_udp(
continue;
}

// Create dot file for the pipeline
gstreamer::debug_bin_to_dot_file(
pipeline
.as_ref()
.unwrap()
.downcast_ref::<gstreamer::Pipeline>()
.unwrap(),
gstreamer::DebugGraphDetails::all(),
"pipeline-started-video-stream-udp",
);

// Check if we need to break external loop
'innerLoop: loop {
if state.lock().unwrap().kill {
Expand Down

0 comments on commit a8c4b37

Please sign in to comment.