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 612615 - [camerabin] video bin elements in wrong state when recording
[camerabin] video bin elements in wrong state when recording
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-11 18:30 UTC by Mark Nauwelaerts
Modified: 2010-03-12 18:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Activate video bin before switching data feed. (1013 bytes, patch)
2010-03-11 18:30 UTC, Mark Nauwelaerts
committed Details | Review

Description Mark Nauwelaerts 2010-03-11 18:30:04 UTC
Created attachment 155882 [details] [review]
Activate video bin before switching data feed.

Currently, the sequence in camerabin is:
* video bin kept locked in READY
* camerabin to PAUSED
* switch output selector to feed video bin
* unlock state and set to PLAYING

If it is assumed that camerabin must always operate with live source elements which do not run in PAUSED, the above should work.  However, with non-live elements, data may feed into video bin before elements are in correct state.
Comment 1 Thiago Sousa Santos 2010-03-12 17:55:26 UTC
It looks good to me.
Comment 2 Mark Nauwelaerts 2010-03-12 18:37:50 UTC
commit 6631f50d59cbabc2f3a6e450ccd4711ee5d2aa39
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Fri Mar 12 19:30:48 2010 +0100

    camerabin: activate video bin before feeding data to it

    Fixes #612615.