diff options
Diffstat (limited to 'generic/inter/examples/plug-and-play.rs')
-rw-r--r-- | generic/inter/examples/plug-and-play.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/inter/examples/plug-and-play.rs b/generic/inter/examples/plug-and-play.rs index f797e0b4..921f2423 100644 --- a/generic/inter/examples/plug-and-play.rs +++ b/generic/inter/examples/plug-and-play.rs @@ -145,8 +145,7 @@ fn monitor_pipeline(pipeline: &gst::Pipeline, base_time: gst::ClockTime) -> Resu } MessageView::StateChanged(sc) => { if msg.src() == Some(pipeline.upcast_ref()) { - gst::debug_bin_to_dot_file( - pipeline.upcast_ref::<gst::Bin>(), + pipeline.debug_to_dot_file( gst::DebugGraphDetails::all(), format!("{}-{:?}-{:?}", pipeline.name(), sc.old(), sc.current()), ); |