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

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/src/identity/imp.rs')
-rw-r--r--tutorial/src/identity/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/src/identity/imp.rs b/tutorial/src/identity/imp.rs
index 35442d87..92d56629 100644
--- a/tutorial/src/identity/imp.rs
+++ b/tutorial/src/identity/imp.rs
@@ -181,7 +181,7 @@ impl ObjectImpl for Identity {
// Here we actually add the pads we created in Identity::new() to the
// element so that GStreamer is aware of their existence.
- let obj = self.instance();
+ let obj = self.obj();
obj.add_pad(&self.sinkpad).unwrap();
obj.add_pad(&self.srcpad).unwrap();
}