Backport of "subtitleoverlay: fix mutex error if sink caps is not video" into 1.22
Backport of !4964 (merged) "subtitleoverlay: fix mutex error if sink caps is not video".
Commits:
- 10271809 subtitleoverlay: fix mutex error if sink caps is not video