+2006-01-28 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * sys/v4l/v4l_calls.c: (gst_v4l_open):
+ check for and throw RESOURCE_BUSY
+
2006-01-27 David Schleef <ds@schleef.org>
* gst/videoscale/vs_scanline.c: Oops, *that's* why I never
(_("Device \"%s\" does not exist."), v4lelement->videodev), (NULL));
return FALSE;
}
+ if (errno == EBUSY) {
+ GST_ELEMENT_ERROR (v4lelement, RESOURCE, BUSY,
+ (_("Device \"%s\" is already being used."), v4lelement->videodev),
+ (NULL));
+ return FALSE;
+ }
GST_ELEMENT_ERROR (v4lelement, RESOURCE, OPEN_READ_WRITE,
(_("Could not open device \"%s\" for reading and writing."),
v4lelement->videodev), GST_ERROR_SYSTEM);