summaryrefslogtreecommitdiffstats
path: root/ext/audiofile/gstafsink.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-02-02 17:23:33 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-02-02 17:23:33 +0000
commit7fa1c523010e5d29ed1c187baeeb209dde4c9fda (patch)
treedb3128f614eff47d9f1a5c9d569ddc3aa829f30c /ext/audiofile/gstafsink.c
parent921fe7a35f7829850e4609b9ece9d4ed72fae813 (diff)
downloadgst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.tar.gz
gst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.tar.bz2
gst-plugins-bad-7fa1c523010e5d29ed1c187baeeb209dde4c9fda.zip
change NULL to (NULL) for GST_ELEMENT_ERROR
Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
Diffstat (limited to 'ext/audiofile/gstafsink.c')
-rw-r--r--ext/audiofile/gstafsink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index afef5f69..69a7da79 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -347,7 +347,7 @@ gst_afsink_open_file (GstAFSink *sink)
if (sink->file == AF_NULL_FILEHANDLE)
{
GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE,
- (_("Could not open file \"%s\" for writing"), sink->filename),
+ (_("Could not open file \"%s\" for writing."), sink->filename),
("system error: %s", strerror (errno)));
return FALSE;
}
@@ -370,7 +370,7 @@ gst_afsink_close_file (GstAFSink *sink)
if (afCloseFile (sink->file) != 0)
{
GST_ELEMENT_ERROR (sink, RESOURCE, CLOSE,
- (_("Error closing file \"%s\""), sink->filename),
+ (_("Error closing file \"%s\"."), sink->filename),
GST_ERROR_SYSTEM);
}
else {