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).
This commit is contained in:
Tim-Philipp Müller 2009-01-20 15:33:05 +00:00
parent 0a89f5e50c
commit 6c565d2ee1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-01-20 Tim-Philipp Müller <tim.muller at collabora co uk>
* 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 <wim.taymans@collabora.co.uk> 2009-01-19 Wim Taymans <wim.taymans@collabora.co.uk>
Patch by: Luotao Fu <l dot fu at pengutronix dot de> Patch by: Luotao Fu <l dot fu at pengutronix dot de>

View file

@ -1259,7 +1259,7 @@ gst_v4l2src_get_read (GstV4l2Src * v4l2src, GstBuffer ** buf)
/* ERRORS */ /* ERRORS */
read_error: read_error:
{ {
GST_ELEMENT_ERROR (v4l2src, RESOURCE, SYNC, GST_ELEMENT_ERROR (v4l2src, RESOURCE, READ,
(_("Error reading %d bytes from device '%s'."), (_("Error reading %d bytes from device '%s'."),
buffersize, v4l2src->v4l2object->videodev), GST_ERROR_SYSTEM); buffersize, v4l2src->v4l2object->videodev), GST_ERROR_SYSTEM);
gst_buffer_unref (*buf); gst_buffer_unref (*buf);