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 796790 - camerabin: Fix elements_created state tracking
camerabin: Fix elements_created state tracking
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-11 14:14 UTC by Nicolas Dufresne (ndufresne)
Modified: 2018-11-03 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
camerabin: Fix elements_created state tracking (1.33 KB, patch)
2018-07-11 14:14 UTC, Nicolas Dufresne (ndufresne)
none Details | Review

Description Nicolas Dufresne (ndufresne) 2018-07-11 14:14:34 UTC
This fixes error recovery in Cheese application.
Comment 1 Nicolas Dufresne (ndufresne) 2018-07-11 14:14:37 UTC
Created attachment 372996 [details] [review]
camerabin: Fix elements_created state tracking

The boolean state was tied to the function success state, while in fact
it only applies to the elements being added to the pipeline. If the
function fails later for other reason, we end up trying to add elements
with the same name in the bin. This fixes error recovery in cheese.
Comment 2 GStreamer system administrator 2018-11-03 14:27:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/749.