diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-19 11:44:12 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-19 11:44:12 +0000 |
commit | 853f236b368079ab1d4b5b1720de24c530806b80 (patch) | |
tree | aa416ecbfda10fbdc0141cfc78bd757de4d4c112 /gst/elements | |
parent | b0a02001fa57cbb6d2bc57010690ceafcad35695 (diff) |
removing ending punctuation dots
Original commit message from CVS:
removing ending punctuation dots
Diffstat (limited to 'gst/elements')
-rw-r--r-- | gst/elements/gstfilesink.c | 2 | ||||
-rw-r--r-- | gst/elements/gstfilesrc.c | 2 | ||||
-rw-r--r-- | gst/elements/gstmultidisksrc.c | 2 | ||||
-rw-r--r-- | gst/elements/gstmultifilesrc.c | 2 | ||||
-rw-r--r-- | gst/elements/gstpipefilter.c | 12 |
5 files changed, 8 insertions, 12 deletions
diff --git a/gst/elements/gstfilesink.c b/gst/elements/gstfilesink.c index d7260731e..aeb2d331a 100644 --- a/gst/elements/gstfilesink.c +++ b/gst/elements/gstfilesink.c @@ -242,7 +242,7 @@ gst_filesink_open_file (GstFileSink *sink) if (sink->file == NULL) { gst_element_error (sink, RESOURCE, OPEN_WRITE, (_("Could not open file \"%s\" for writing"), sink->filename), - ("system error: %s", strerror (errno))); + GST_ERROR_SYSTEM); return FALSE; } diff --git a/gst/elements/gstfilesrc.c b/gst/elements/gstfilesrc.c index 6e14f4225..78d1a9f6e 100644 --- a/gst/elements/gstfilesrc.c +++ b/gst/elements/gstfilesrc.c @@ -642,7 +642,7 @@ gst_filesrc_get_read (GstFileSrc *src) if (ret < 0){ gst_element_error (src, RESOURCE, READ, NULL, - ("system error: %s", strerror (errno))); + GST_ERROR_SYSTEM); return NULL; } if (ret < readsize) { diff --git a/gst/elements/gstmultidisksrc.c b/gst/elements/gstmultidisksrc.c index 9d5f1e5b2..da788c295 100644 --- a/gst/elements/gstmultidisksrc.c +++ b/gst/elements/gstmultidisksrc.c @@ -242,7 +242,7 @@ gboolean gst_multidisksrc_open_file (GstMultiDiskSrc *src, GstPad *srcpad) if (src->fd < 0) { gst_element_error (src, RESOURCE, OPEN_READ, (_("Could not open file \"%s\" for reading"), src->currentfilename), - ("system error: %s", strerror (errno))); + GST_ERROR_SYSTEM); return FALSE; } else { diff --git a/gst/elements/gstmultifilesrc.c b/gst/elements/gstmultifilesrc.c index 9d5f1e5b2..da788c295 100644 --- a/gst/elements/gstmultifilesrc.c +++ b/gst/elements/gstmultifilesrc.c @@ -242,7 +242,7 @@ gboolean gst_multidisksrc_open_file (GstMultiDiskSrc *src, GstPad *srcpad) if (src->fd < 0) { gst_element_error (src, RESOURCE, OPEN_READ, (_("Could not open file \"%s\" for reading"), src->currentfilename), - ("system error: %s", strerror (errno))); + GST_ERROR_SYSTEM); return FALSE; } else { diff --git a/gst/elements/gstpipefilter.c b/gst/elements/gstpipefilter.c index 1f5d1b6aa..04ff13468 100644 --- a/gst/elements/gstpipefilter.c +++ b/gst/elements/gstpipefilter.c @@ -169,8 +169,7 @@ gst_pipefilter_get (GstPad *pad) readbytes = read(pipefilter->fdout[0], GST_BUFFER_DATA(newbuf), pipefilter->bytes_per_read); GST_DEBUG ("read %ld bytes", readbytes); if (readbytes < 0) { - gst_element_error (pipefilter, RESOURCE, READ, - NULL, ("system error: %s", strerror (errno))); + gst_element_error (pipefilter, RESOURCE, READ, NULL, GST_ERROR_SYSTEM); return NULL; } /* if we didn't get as many bytes as we asked for, we're at EOF */ @@ -213,8 +212,7 @@ gst_pipefilter_chain (GstPad *pad,GstData *_data) writebytes = write(pipefilter->fdin[1],data,size); GST_DEBUG ("written %ld bytes", writebytes); if (writebytes < 0) { - gst_element_error (pipefilter, RESOURCE, WRITE, - NULL, ("system error: %s", strerror (errno))); + gst_element_error (pipefilter, RESOURCE, WRITE, NULL, GST_ERROR_SYSTEM); return; } gst_buffer_unref(buf); @@ -269,8 +267,7 @@ gst_pipefilter_open_file (GstPipefilter *src) if((src->childpid = fork()) == -1) { - gst_element_error (src, RESOURCE, TOO_LAZY, - NULL, ("system error: %s", strerror (errno))); + gst_element_error (src, RESOURCE, TOO_LAZY, NULL, GST_ERROR_SYSTEM); return FALSE; } @@ -283,8 +280,7 @@ gst_pipefilter_open_file (GstPipefilter *src) dup2(src->fdout[1], STDOUT_FILENO); /* set the childs output stream */ execvp(src->command[0], &src->command[0]); /* will only be reached if execvp has an error */ - gst_element_error (src, RESOURCE, TOO_LAZY, - NULL, ("system error: %s", strerror (errno))); + gst_element_error (src, RESOURCE, TOO_LAZY, NULL, GST_ERROR_SYSTEM); return FALSE; } |