After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 658543 - [v4l2src] Use GST_RESOURCE_ERROR_BUSY if webcam is already used
[v4l2src] Use GST_RESOURCE_ERROR_BUSY if webcam is already used
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other Linux
: Normal enhancement
: 0.10.31
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-08 11:27 UTC by Guillaume Desmottes
Modified: 2011-09-08 13:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gstv4l2object: use GST_RESOURCE_ERROR_BUSY if v4l2_ioctl fails with EBUSY (1.68 KB, patch)
2011-09-08 11:30 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2011-09-08 11:27:16 UTC
We'd like to display some helpful error message if an Empathy user can't use his webcam because it's already used by another application. Atm we can't easily identify such failure because it's reported as a GST_RESOURCE_ERROR_SETTINGS and not a GST_RESOURCE_ERROR_BUSY as expected.
Comment 1 Guillaume Desmottes 2011-09-08 11:30:23 UTC
Created attachment 195975 [details] [review]
gstv4l2object: use GST_RESOURCE_ERROR_BUSY if v4l2_ioctl fails with EBUSY
Comment 2 Sebastian Dröge (slomo) 2011-09-08 13:05:53 UTC
commit 06c65418d7aeadb7db3880cf815b7d0ff8d36b83
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Thu Sep 8 13:28:24 2011 +0200

    v4l2: use GST_RESOURCE_ERROR_BUSY if v4l2_ioctl fails with EBUSY
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658543