summaryrefslogtreecommitdiffstats
path: root/sys/vcd/vcdsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vcd/vcdsrc.c')
-rw-r--r--sys/vcd/vcdsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vcd/vcdsrc.c b/sys/vcd/vcdsrc.c
index 3a3d13a8..b5d6a777 100644
--- a/sys/vcd/vcdsrc.c
+++ b/sys/vcd/vcdsrc.c
@@ -303,7 +303,7 @@ vcdsrc_open_file(VCDSrc *src)
/* open the device */
src->fd = open(src->device,O_RDONLY);
if (src->fd < 0) {
- gst_element_error (src, RESOURCE, OPEN_READ, NULL, GST_ERROR_SYSTEM);
+ GST_ELEMENT_ERROR (src, RESOURCE, OPEN_READ, NULL, GST_ERROR_SYSTEM);
return FALSE;
}