From 7fa1c523010e5d29ed1c187baeeb209dde4c9fda Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 2 Feb 2004 17:23:33 +0000 Subject: 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 "." --- ext/audiofile/gstafsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/audiofile/gstafsrc.c') diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c index e2bdf3f6..aa41273f 100644 --- a/ext/audiofile/gstafsrc.c +++ b/ext/audiofile/gstafsrc.c @@ -317,7 +317,7 @@ gst_afsrc_open_file (GstAFSrc *src) if (src->file == AF_NULL_FILEHANDLE) { GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, - (_("Could not open file \"%s\" for reading"), src->filename), + (_("Could not open file \"%s\" for reading."), src->filename), ("system error: %s", strerror (errno))); return FALSE; } @@ -375,7 +375,7 @@ gst_afsrc_close_file (GstAFSrc *src) if (afCloseFile (src->file) != 0) { GST_ELEMENT_ERROR (src, RESOURCE, CLOSE, - (_("Error closing file \"%s\""), src->filename), + (_("Error closing file \"%s\"."), src->filename), GST_ERROR_SYSTEM); } else { GST_FLAG_UNSET (src, GST_AFSRC_OPEN); -- cgit v1.2.1