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:
authorSebastian Dröge <sebastian@centricular.com>2023-01-05 13:32:01 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-05 13:33:54 +0300
commit27435ad82eaad2745fa144d837e7c4d818d3099f (patch)
treec9e2a446b8a5726ae9b8a32cecd8bf1e61c2255e /tutorial
parentd846f527af8ed8bf9072aa1b32268390fede16e6 (diff)
Update for API changes
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/src/progressbin/imp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/src/progressbin/imp.rs b/tutorial/src/progressbin/imp.rs
index 3811c0bef..e65d2bcaa 100644
--- a/tutorial/src/progressbin/imp.rs
+++ b/tutorial/src/progressbin/imp.rs
@@ -223,7 +223,7 @@ impl BinImpl for ProgressBin {
// handling of the parent class, i.e. forwarding to the parent
// bins and the application.
MessageView::Element(msg)
- if msg.src().as_ref() == Some(self.progress.upcast_ref())
+ if msg.src() == Some(self.progress.upcast_ref())
&& msg
.structure()
.map(|s| s.name() == "progress")