diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-29 23:20:45 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2004-01-29 23:20:45 +0000 |
commit | 92eb19b993e4e1bdd7fef71c1264e0092f4accac (patch) | |
tree | 7055360715831c903e6ae5ca7df13bcf3093be4c /sys/dxr3/dxr3spusink.c | |
parent | 7c858cbf0f10a48386f7098420fde939eda25eb5 (diff) | |
download | gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.tar.gz gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.tar.bz2 gst-plugins-bad-92eb19b993e4e1bdd7fef71c1264e0092f4accac.zip |
GST_ELEMENT_ERROR
Original commit message from CVS:
GST_ELEMENT_ERROR
Diffstat (limited to 'sys/dxr3/dxr3spusink.c')
-rw-r--r-- | sys/dxr3/dxr3spusink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dxr3/dxr3spusink.c b/sys/dxr3/dxr3spusink.c index d66ea949..e34e56e9 100644 --- a/sys/dxr3/dxr3spusink.c +++ b/sys/dxr3/dxr3spusink.c @@ -281,7 +281,7 @@ dxr3spusink_open (Dxr3SpuSink *sink) sink->spu_fd = open (sink->spu_filename, O_WRONLY); if (sink->spu_fd < 0) { - gst_element_error (sink, RESOURCE, OPEN_WRITE, + GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE, (_("Could not open spu device \"%s\" for writing"), sink->spu_filename), GST_ERROR_SYSTEM); return FALSE; } @@ -292,7 +292,7 @@ dxr3spusink_open (Dxr3SpuSink *sink) sink->control_fd = open (sink->control_filename, O_WRONLY); if (sink->control_fd < 0) { - gst_element_error (sink, RESOURCE, OPEN_WRITE, + GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE, (_("Could not open control device \"%s\" for writing"), sink->control_filename), GST_ERROR_SYSTEM); return FALSE; } @@ -309,7 +309,7 @@ dxr3spusink_close (Dxr3SpuSink *sink) g_return_if_fail (GST_FLAG_IS_SET (sink, DXR3SPUSINK_OPEN)); if (close (sink->spu_fd) != 0) { - gst_element_error (sink, RESOURCE, CLOSE, + GST_ELEMENT_ERROR (sink, RESOURCE, CLOSE, (_("Could not close spu device \"%s\""), sink->spu_filename), GST_ERROR_SYSTEM); return; @@ -317,7 +317,7 @@ dxr3spusink_close (Dxr3SpuSink *sink) if (close (sink->control_fd) != 0) { - gst_element_error (sink, RESOURCE, CLOSE, + GST_ELEMENT_ERROR (sink, RESOURCE, CLOSE, (_("Could not close control device \"%s\""), sink->control_filename), GST_ERROR_SYSTEM); return; |