pipeline: Return FALSE in save_thumbnail when the operation fails
authorThibault Saunier <thibault.saunier@collabora.com>
Wed, 17 Apr 2013 19:48:05 +0000 (16:48 -0300)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 17 Apr 2013 19:48:05 +0000 (16:48 -0300)
ges/ges-timeline-pipeline.c

index 5aabca1616f9ac1766791f778ac933fb8b761283..e38ffd9e45802ad69267475c3a49304728c34de9 100644 (file)
@@ -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);