Backport of "adaptivedemux2: Call GTasks's return functions for blocking tasks" into 1.22
Backport of !5395 (merged) "adaptivedemux2: Call GTasks's return functions for blocking tasks".
Commits:
- 4a9a9ed9 adaptivedemux2: Call GTasks's return functions for blocking tasks