pipeline: Return FALSE in save_thumbnail when the operation fails

This commit is contained in:
Thibault Saunier 2013-04-17 16:48:05 -03:00
parent 504ab966aa
commit fee4167292

View 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);