adaptivedemux2/downloadhelper: Don't mark transfer as complete/error if cancelled.
authorJan Schmidt <jan@centricular.com>
Thu, 13 Oct 2022 19:19:11 +0000 (06:19 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 4 Nov 2022 16:24:26 +0000 (03:24 +1100)
commitd1ae35f08a3c5893fcca20f28e38a833c739b725
tree2a21e306a38263a3d173c73c40d06380aa777352
parent46517d5aca244f91114470fadfc25c0a65b3e36a
adaptivedemux2/downloadhelper: Don't mark transfer as complete/error if cancelled.

If the state of the download request was reset to UNSENT,
it was cancelled. Don't update the state to COMPLETE or ERRORED
in on_read_ready().

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