GNOME Bugzilla – Bug 448794
state changes are racy with decodebin after rewrite for 0.10.13
Last modified: 2007-06-18 16:04: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:
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.