Original commit message from CVS:
* gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
Log the reason why fopen fails in addition to the fact that it failed.
+2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
+
+ * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
+ Log the reason why fopen fails in addition to the fact that it failed.
+
2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
* gst/parse/parse.l:
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <errno.h>
#include "gstinfo.h"
#include "gstbin.h"
fclose (out);
GST_INFO ("wrote bin graph to : '%s'", full_file_name);
} else {
- GST_WARNING ("Failed to open file '%s' for writing", full_file_name);
+ GST_WARNING ("Failed to open file '%s' for writing: %s", full_file_name,
+ g_strerror (errno));
}
g_free (full_file_name);
}