From 858a630e65e691216a0361d52715519c565b71fe Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 18 Apr 2013 18:59:52 -0300 Subject: [PATCH] ges: Fix compilation --- ges/ges-timeline-pipeline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ges/ges-timeline-pipeline.c b/ges/ges-timeline-pipeline.c index 0469526..c544d42 100644 --- a/ges/ges-timeline-pipeline.c +++ b/ges/ges-timeline-pipeline.c @@ -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 (!g_file_set_contents (location, (const char *) map_info.data, 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; } } -- 2.7.4