gst-validate-scenario: Fix (another) race condition in EOS handling
authorAlicia Boya García <ntrrgc@gmail.com>
Thu, 21 Feb 2019 21:01:24 +0000 (22:01 +0100)
committerAlicia Boya García <ntrrgc@gmail.com>
Thu, 21 Feb 2019 23:02:08 +0000 (00:02 +0100)
commitaf205f63b7172fcab61e846f354af23888bcf116
treea78f3abd0c83a06758ff9f9635497ba84b494e65
parenta443b921a201ae290e4ebe6e10136dd3a9324227
gst-validate-scenario: Fix (another) race condition in EOS handling

Since gst_validate_action_set_done() is asynchronous, the bus EOS
handler may already be running before the action is actually finished.
This patch ensures that is not a problem.
validate/gst/validate/gst-validate-scenario.c