bin: always mark pending_async_done
When we get an ASYNC_DONE message when a state change was busy, set the pending_async_done flag so that after the state change completes, the bin can check if all async elements are finished. Don't only do this for the bin itself but for all elements. This fixes some bins in bins that simulate async state changes by posting ASYNC messages (such as sdpparse in uridecodebin/playbin2).
Showing with 14 additions and 10 deletions