adaptivedemux2: Call GTasks's return functions for blocking tasks
authorFlorian Zwoch <fzwoch@gmail.com>
Tue, 26 Sep 2023 16:48:10 +0000 (16:48 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 28 Sep 2023 10:04:11 +0000 (12:04 +0200)
commit80d62798c3f630cacf1766905e987e32eb290f95
tree5498bdd4e80a235a0eb0c0be126c4e7550608e44
parentc53376cbfca113797aa80dc2b7cc21cd1497c616
adaptivedemux2: Call GTasks's return functions for blocking tasks

Gio/Task states the following:

If a GTask has been constructed and its callback set, it is an error to
not call g_task_return_*() on it. GLib will warn at runtime if this
happens (since 2.76).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5414>
subprojects/gst-plugins-good/ext/adaptivedemux2/downloadhelper.c