diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-10-12 17:48:47 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-10-12 19:50:15 +0300 |
commit | e49138516cc5eb1d125e3139ae1cf24eb3b00016 (patch) | |
tree | 197d72bb75d5f8480d813ca4e0d4b7844d4df641 /video/closedcaption/src/cea608overlay/imp.rs | |
parent | 2bffdec691c441c9effefa4f27f72d64681c0bf2 (diff) |
Update for pad default functions API changes
Diffstat (limited to 'video/closedcaption/src/cea608overlay/imp.rs')
-rw-r--r-- | video/closedcaption/src/cea608overlay/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/closedcaption/src/cea608overlay/imp.rs b/video/closedcaption/src/cea608overlay/imp.rs index e52eb6904..d7b892477 100644 --- a/video/closedcaption/src/cea608overlay/imp.rs +++ b/video/closedcaption/src/cea608overlay/imp.rs @@ -527,9 +527,9 @@ impl Cea608Overlay { let mut state = self.state.lock().unwrap(); state.caption_frame = CaptionFrame::default(); state.composition = None; - pad.event_default(Some(&*self.instance()), event) + gst::Pad::event_default(pad, Some(&*self.instance()), event) } - _ => pad.event_default(Some(&*self.instance()), event), + _ => gst::Pad::event_default(pad, Some(&*self.instance()), event), } } } |