GNOME Bugzilla – Bug 636769
[appsink] Flushing property is never reset
Last modified: 2010-12-10 18:02:13 UTC
When the element is stopped, flushing is set to TRUE, but it is never reset, so attempting to restart the element, it thinks it's still flushing and doesn't work.
Created attachment 176057 [details] [review] Proposed fix.
That patch is not correct, it never sets the flushing flag to TRUE outside of the lock, which can cause deadlocks. The proper fix is to set the flushing flag to FALSE in the start method.
commit 5f36105915473450eebaceb28e28b0dd6438c02b Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Fri Dec 10 18:57:56 2010 +0100 appsink: unset flushing flag when starting When we start again after being stopped, clear the flushing flag or else it will always be TRUE. Fixes #636769