Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'audio/csound/examples/effect_example.rs')
-rw-r--r--audio/csound/examples/effect_example.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/csound/examples/effect_example.rs b/audio/csound/examples/effect_example.rs
index 95285d11c..4993555a9 100644
--- a/audio/csound/examples/effect_example.rs
+++ b/audio/csound/examples/effect_example.rs
@@ -104,7 +104,7 @@ fn main_loop(pipeline: gst::Pipeline) -> Result<(), Box<dyn Error>> {
pipeline.set_state(gst::State::Playing)?;
let bus = pipeline
- .get_bus()
+ .bus()
.expect("Pipeline without bus. Shouldn't happen!");
for msg in bus.iter_timed(gst::CLOCK_TIME_NONE) {
@@ -115,9 +115,9 @@ fn main_loop(pipeline: gst::Pipeline) -> Result<(), Box<dyn Error>> {
MessageView::Error(err) => {
println!(
"Error from {:?}: {} ({:?})",
- msg.get_src().map(|s| s.get_path_string()),
- err.get_error(),
- err.get_debug()
+ msg.src().map(|s| s.path_string()),
+ err.error(),
+ err.debug()
);
break;
}