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 448794 - state changes are racy with decodebin after rewrite for 0.10.13
state changes are racy with decodebin after rewrite for 0.10.13
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal normal
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-18 14:39 UTC by Wim Taymans
Modified: 2007-06-18 16:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix the problem (30.01 KB, patch)
2007-06-18 14:41 UTC, Wim Taymans
committed Details | Review

Description Wim Taymans 2007-06-18 14:39:05 UTC
Please describe the problem:
sometimes the parent bin gets confused about its state because of decodebin asynchronously posting async-done and the get_state thread polling the state.

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Wim Taymans 2007-06-18 14:41:17 UTC
Created attachment 90212 [details] [review]
patch to fix the problem

changes the way async-done is handled in the toplevel bin. With this patch the state will be updated immediatly after an async-start or async-done message instead of in another thread. This patch also removes the polling in _get_state and avoids spawning a thread when we just go to the PAUSED state.