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 'video/closedcaption/src/tttojson/imp.rs')
-rw-r--r--video/closedcaption/src/tttojson/imp.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/closedcaption/src/tttojson/imp.rs b/video/closedcaption/src/tttojson/imp.rs
index 8a8e2196..d590060b 100644
--- a/video/closedcaption/src/tttojson/imp.rs
+++ b/video/closedcaption/src/tttojson/imp.rs
@@ -132,8 +132,8 @@ impl TtToJson {
.build();
self.srcpad.push_event(gst::event::Caps::new(&caps))
}
- EventView::Eos(_) => gst::Pad::event_default(pad, Some(&*self.instance()), event),
- _ => gst::Pad::event_default(pad, Some(&*self.instance()), event),
+ EventView::Eos(_) => gst::Pad::event_default(pad, Some(&*self.obj()), event),
+ _ => gst::Pad::event_default(pad, Some(&*self.obj()), event),
}
}
}
@@ -237,7 +237,7 @@ impl ObjectImpl for TtToJson {
fn constructed(&self) {
self.parent_constructed();
- let obj = self.instance();
+ let obj = self.obj();
obj.add_pad(&self.sinkpad).unwrap();
obj.add_pad(&self.srcpad).unwrap();
}