Backport of "avviddec: Unlock stream lock while waiting for decoded frame" into 1.22
Backport of !5681 (merged) "avviddec: Unlock stream lock while waiting for decoded frame".
Commits:
- d2c92008 avviddec: Unlock stream lock while waiting for decoded frame