From 07ed811a0983771c45faa2f6f76a9fff186db407 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 18 Jan 2004 21:46:58 +0000 Subject: use new error signal and classification Original commit message from CVS: use new error signal and classification --- sys/vcd/vcdsrc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/vcd/vcdsrc.c') diff --git a/sys/vcd/vcdsrc.c b/sys/vcd/vcdsrc.c index 04db4410..3a3d13a8 100644 --- a/sys/vcd/vcdsrc.c +++ b/sys/vcd/vcdsrc.c @@ -303,8 +303,7 @@ vcdsrc_open_file(VCDSrc *src) /* open the device */ src->fd = open(src->device,O_RDONLY); if (src->fd < 0) { - perror("open()"); - gst_element_error(GST_ELEMENT(src),"opening file"); + gst_element_error (src, RESOURCE, OPEN_READ, NULL, GST_ERROR_SYSTEM); return FALSE; } -- cgit v1.2.1