mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
pipeline: Return FALSE in save_thumbnail when the operation fails
This commit is contained in:
parent
504ab966aa
commit
fee4167292
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue