summaryrefslogtreecommitdiff
path: root/ext/audiofile/gstafsrc.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-01-29 23:20:45 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-01-29 23:20:45 +0000
commit92eb19b993e4e1bdd7fef71c1264e0092f4accac (patch)
tree7055360715831c903e6ae5ca7df13bcf3093be4c /ext/audiofile/gstafsrc.c
parent7c858cbf0f10a48386f7098420fde939eda25eb5 (diff)
downloadgstreamer-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.tar.gz
GST_ELEMENT_ERROR
Original commit message from CVS: GST_ELEMENT_ERROR
Diffstat (limited to 'ext/audiofile/gstafsrc.c')
-rw-r--r--ext/audiofile/gstafsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/audiofile/gstafsrc.c b/ext/audiofile/gstafsrc.c
index bffff45ad..e2bdf3f69 100644
--- a/ext/audiofile/gstafsrc.c
+++ b/ext/audiofile/gstafsrc.c
@@ -316,7 +316,7 @@ gst_afsrc_open_file (GstAFSrc *src)
src->file = afOpenFile (src->filename, "r", AF_NULL_FILESETUP);
if (src->file == AF_NULL_FILEHANDLE)
{
- gst_element_error (src, RESOURCE, OPEN_READ,
+ GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ,
(_("Could not open file \"%s\" for reading"), src->filename),
("system error: %s", strerror (errno)));
return FALSE;
@@ -374,7 +374,7 @@ gst_afsrc_close_file (GstAFSrc *src)
/* if (fclose (src->file) != 0) */
if (afCloseFile (src->file) != 0)
{
- gst_element_error (src, RESOURCE, CLOSE,
+ GST_ELEMENT_ERROR (src, RESOURCE, CLOSE,
(_("Error closing file \"%s\""), src->filename),
GST_ERROR_SYSTEM);
} else {