From e2d448f0026590ab4a94546953f7d7c6b9c4ef69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Tue, 12 Feb 2019 16:10:02 +0100 Subject: [PATCH] examples: fix ges warnings --- examples/src/bin/ges.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/src/bin/ges.rs b/examples/src/bin/ges.rs index a9d8f519e..c6a933570 100644 --- a/examples/src/bin/ges.rs +++ b/examples/src/bin/ges.rs @@ -61,11 +61,11 @@ fn main_loop(uri: &str) -> Result<(), glib::BoolError> { // Create a new layer that will contain our timed clips. let layer = timeline.append_layer(); let pipeline = ges::Pipeline::new(); - pipeline.set_timeline(&timeline); + pipeline.set_timeline(&timeline)?; // Load a clip from the given uri and add it to the layer. let clip = ges::UriClip::new(uri).expect("Failed to create clip"); - layer.add_clip(&clip); + layer.add_clip(&clip)?; // Add an effect to the clip's video stream. let effect = ges::Effect::new("agingtv").expect("Failed to create effect");