mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
ges: Fix compilation
This commit is contained in:
parent
64e188772e
commit
858a630e65
1 changed files with 2 additions and 1 deletions
|
@ -1074,7 +1074,8 @@ ges_timeline_pipeline_save_thumbnail (GESTimelinePipeline * self, int width, int
|
||||||
if (gst_buffer_map (b, &map_info, GST_MAP_READ)) {
|
if (gst_buffer_map (b, &map_info, GST_MAP_READ)) {
|
||||||
if (!g_file_set_contents (location, (const char *) map_info.data,
|
if (!g_file_set_contents (location, (const char *) map_info.data,
|
||||||
map_info.size, error)) {
|
map_info.size, error)) {
|
||||||
GST_WARNING ("Could not save thumbnail: %s", err->message);
|
GST_WARNING ("Could not save thumbnail: %s",
|
||||||
|
error ? (*error)->message : "");
|
||||||
res = FALSE;
|
res = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue