From: Tim-Philipp Müller Date: Tue, 20 Jan 2009 15:33:05 +0000 (+0000) Subject: sys/v4l2/gstv4l2src.c: Fix error code (the message string also needs love, but not... X-Git-Tag: 1.19.3~509^2~10809 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c565d2ee1061baa7efb3809fcc571a244df621b;p=platform%2Fupstream%2Fgstreamer.git sys/v4l2/gstv4l2src.c: Fix error code (the message string also needs love, but not today). Original commit message from CVS: * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read): Fix error code (the message string also needs love, but not today). --- diff --git a/ChangeLog b/ChangeLog index 1dc868e..c8d8e8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-20 Tim-Philipp Müller + + * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read): + Fix error code (the message string also needs love, but not today). + 2009-01-19 Wim Taymans Patch by: Luotao Fu diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 2b3dc21..4520f97 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -1259,7 +1259,7 @@ gst_v4l2src_get_read (GstV4l2Src * v4l2src, GstBuffer ** buf) /* ERRORS */ read_error: { - GST_ELEMENT_ERROR (v4l2src, RESOURCE, SYNC, + GST_ELEMENT_ERROR (v4l2src, RESOURCE, READ, (_("Error reading %d bytes from device '%s'."), buffersize, v4l2src->v4l2object->videodev), GST_ERROR_SYSTEM); gst_buffer_unref (*buf);