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 'video/closedcaption/src/scc_enc.rs')
-rw-r--r--video/closedcaption/src/scc_enc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/closedcaption/src/scc_enc.rs b/video/closedcaption/src/scc_enc.rs
index 949c3e4fc..d60079f88 100644
--- a/video/closedcaption/src/scc_enc.rs
+++ b/video/closedcaption/src/scc_enc.rs
@@ -269,7 +269,7 @@ impl SccEnc {
// We send our own caps downstream
let caps = gst::Caps::builder("application/x-scc").build();
- self.srcpad.push_event(gst::Event::new_caps(&caps).build())
+ self.srcpad.push_event(gst::event::Caps::new(&caps))
}
EventView::Eos(_) => {
let mut state = self.state.lock().unwrap();