From fee41672921398b79c65bd75178b47fd3013471a Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 17 Apr 2013 16:48:05 -0300 Subject: [PATCH] pipeline: Return FALSE in save_thumbnail when the operation fails --- ges/ges-timeline-pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-timeline-pipeline.c b/ges/ges-timeline-pipeline.c index 5aabca1616..e38ffd9e45 100644 --- a/ges/ges-timeline-pipeline.c +++ b/ges/ges-timeline-pipeline.c @@ -1058,7 +1058,7 @@ ges_timeline_pipeline_save_thumbnail (GESTimelinePipeline * self, int width, int if (!(sample = ges_timeline_pipeline_get_thumbnail (self, caps))) { gst_caps_unref (caps); - return res; + return FALSE; } b = gst_sample_get_buffer (sample);