diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-10-20 12:49:51 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-10-20 12:49:51 +0300 |
commit | bbc18d6349aaaabd9ae43a08c3874718a929e12b (patch) | |
tree | ab9556f981018f6364d99f3a5995b1294839a749 /tutorial/tutorial-2.md | |
parent | 9d394d39edadcd4c59053f524fa1be6dd4e6b75c (diff) |
Update for ClockId creation API changes
Diffstat (limited to 'tutorial/tutorial-2.md')
-rw-r--r-- | tutorial/tutorial-2.md | 4 |
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); |