Function gstreamer::functions::debug_bin_to_dot_file[][src]

pub fn debug_bin_to_dot_file<P: IsA<Bin>, Q: AsRef<Path>>(
    bin: &P,
    details: DebugGraphDetails,
    file_name: Q
)
Expand description

To aid debugging applications one can use this method to write out the whole network of gstreamer elements that form the pipeline into a dot file. This file can be processed with graphviz to get an image.

 dot -Tpng -oimage.png graph_lowlevel.dot

bin

the top-level pipeline that should be analyzed

details

type of DebugGraphDetails to use

file_name

output base filename (e.g. “myplayer”)