Do not create a device if gst initializazion fails
authorFilippo Argiolas <filippo.argiolas@gmail.com>
Tue, 20 Jul 2010 18:13:46 +0000 (20:13 +0200)
committerFilippo Argiolas <filippo.argiolas@gmail.com>
Tue, 20 Jul 2010 18:43:54 +0000 (20:43 +0200)
commit64e2170989f3e7cad39734efceef154b81dd7b4f
treec538c7490667eda0180733e5a987d8b1b1603145
parentb2ed9aeece0d293fa0e8e10a84972bc65f1aa763
Do not create a device if gst initializazion fails

Currently we create a device with empty caps if the probing pipeline
cannot be started. That's wrong, the device evidendtly doesn't work so
the CheeseCameraDevice object for doesn't have to be created.

https://bugzilla.gnome.org/show_bug.cgi?id=618203
libcheese/cheese-camera-device.c