Skip to content

wpe: Fix race condition on teardown

Thibault Saunier requested to merge thiblahute/gst-plugins-bad:wpe_fixes into master
commit ea34d7aa47752946c42f92415934e9d1cc077653 (HEAD -> wpe_fixes, thiblahute/wpe_fixes)
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Wed Sep 1 17:35:45 2021 -0400

    wpe: Fix rare condition on teardown
    
    There was a race when going to PAUSED while pushing a buffer to the
    pipeline process (where we weren't even cancelling anything).
    
    This rework base all the cancellation around the GCancellable
    "cancelled" signal trying to ensure that the streaming thread will not
    block once a cancel operation happens.

commit 430dbc499855a3e7d285e99f4fcd54fa6358ab63
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Wed Sep 1 17:26:04 2021 -0400

    wpe: Use the new element.get_current_running_time API

commit c6c44b0aa5a9b2a5b5e2dfbb92f00cd6ea438832
Author: Thibault Saunier <tsaunier@igalia.com>
Date:   Wed Sep 1 17:24:45 2021 -0400

    wpe: Mark first buffer as starting at 0

Merge request reports