Backport of "gstvideodecoder: Fix racy critical when pool negotiation occurs during flush" into 1.18
requested to merge tpm/gst-plugins-base:backport-mr-1031-into-1.18-basedecoder-pool-negotiation-race into 1.18
Backport of !1031 (merged) "gstvideodecoder: Fix racy critical when pool negotiation occurs during flush".
Commits:
- 29aeba63 videodecoder: Fix racy critical when pool negotiation occurs during flush