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>2020-10-20 12:49:51 +0300
committerSebastian Dröge <sebastian@centricular.com>2020-10-20 12:49:51 +0300
commitbbc18d6349aaaabd9ae43a08c3874718a929e12b (patch)
treeab9556f981018f6364d99f3a5995b1294839a749 /tutorial/tutorial-2.md
parent9d394d39edadcd4c59053f524fa1be6dd4e6b75c (diff)
Update for ClockId creation API changes
Diffstat (limited to 'tutorial/tutorial-2.md')
-rw-r--r--tutorial/tutorial-2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorial/tutorial-2.md b/tutorial/tutorial-2.md
index 7087fde98..aa6b512dd 100644
--- a/tutorial/tutorial-2.md
+++ b/tutorial/tutorial-2.md
@@ -705,7 +705,7 @@ For working in live mode, we have to add a few different parts in various places
return Ok(buffer);
}
- let id = clock.new_single_shot_id(wait_until).unwrap();
+ let id = clock.new_single_shot_id(wait_until);
gst_log!(
CAT,
@@ -863,7 +863,7 @@ Now as a last step, we need to actually make use of the new struct we added arou
return Err(gst::FlowReturn::Flushing);
}
- let id = clock.new_single_shot_id(wait_until).unwrap();
+ let id = clock.new_single_shot_id(wait_until);
clock_wait.clock_id = Some(id.clone());
drop(clock_wait);