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/tttocea608.rs')
-rw-r--r--video/closedcaption/src/tttocea608.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/closedcaption/src/tttocea608.rs b/video/closedcaption/src/tttocea608.rs
index dde0288a8..bd29169c9 100644
--- a/video/closedcaption/src/tttocea608.rs
+++ b/video/closedcaption/src/tttocea608.rs
@@ -296,7 +296,7 @@ impl TtToCea608 {
.mul_div_round(fps_d, fps_n)
.unwrap();
- let event = gst::Event::new_gap(start, end - start).build();
+ let event = gst::event::Gap::new(start, end - start);
drop(state);
@@ -635,7 +635,7 @@ impl TtToCea608 {
match query.view_mut() {
QueryView::Latency(ref mut q) => {
- let mut peer_query = gst::query::Query::new_latency();
+ let mut peer_query = gst::query::Latency::new();
let ret = self.sinkpad.peer_query(&mut peer_query);
@@ -702,7 +702,7 @@ impl TtToCea608 {
gst_debug!(CAT, obj: pad, "Pushing caps {}", caps);
- let new_event = gst::Event::new_caps(&downstream_caps).build();
+ let new_event = gst::event::Caps::new(&downstream_caps);
drop(state);