diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2009-01-20 15:33:05 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2009-01-20 15:33:05 +0000 |
commit | 6c565d2ee1061baa7efb3809fcc571a244df621b (patch) | |
tree | 7654e47db83931fef04339a0c1ba3565212a5142 /sys | |
parent | 0a89f5e50c67b7b76902af8898e7ba78289d49d6 (diff) |
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).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 2b3dc21b..4520f970 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); |