mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
gst/gstdebugutils.c: add warning when failed to open file for writing
Original commit message from CVS: * gst/gstdebugutils.c: add warning when failed to open file for writing
This commit is contained in:
parent
c2683ff751
commit
7e8415cdf1
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
|
||||
|
||||
* gst/gstdebugutils.c:
|
||||
add warning when failed to open file for writing
|
||||
|
||||
2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Based on patch by: Laurent Glayal <spglegle yahoo fr>
|
||||
|
|
|
@ -478,8 +478,10 @@ _gst_debug_bin_to_dot_file (GstBin * bin, GstDebugGraphDetails details,
|
|||
/* write footer */
|
||||
fprintf (out, "}\n");
|
||||
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_INFO ("wrote bin graph to : '%s'", full_file_name);
|
||||
g_free (full_file_name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue