Skip to content

Add some more Futures support where it makes sense

Sebastian Dröge requested to merge slomo/gstreamer-rs:more-futures into master
commit cddccf950254d2869c966fbf14eda09abda5ec22 (HEAD -> more-futures, gitlab-slomo/more-futures)
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Sun Feb 9 19:07:18 2020 +0200

    gstreamer/promise: Add Future constructor for Promise
    
    This returns a tuple that basically works like a oneshot channel: the
    Promise acts as the "sender" and once the promise resolves the
    "receiver" contains the result.

commit 80c93dfddb6245fe04a23f495350bce30961b4f7
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Sun Feb 9 18:53:36 2020 +0200

    video: Add Future variant of convert_sample_async()
    
    Requires to be spawned on the GLib main context futures executor as the
    function itself requires a GLib main context to call the callback.

Merge request reports