GNOME Bugzilla – Bug 781112
pad-monitor: Safely store expected accurate seek value
Last modified: 2017-04-10 07:24:54 UTC
Fixes races with multiple seeks
Created attachment 349583 [details] [review] pad-monitor: Safely store expected accurate seek value Protect the expected accurate seek value with the same lock as the one that will be used to read/validate the resulting segment. Avoids races with duplicated seeks
It's still racy. Trying to figure it out
Created attachment 349584 [details] [review] pad-monitor: Safely store expected seek values Protect the expected seek values with the same lock as the one that will be used to read/validate the resulting segments and flush values. Avoids races with duplicated seeks (i.e. a seek that was already sent and handled via another pad, such as in demuxers).
commit b156616b5c424ee2c5d2f9aa6d233106f3fe97a4 Author: Edward Hervey <edward@centricular.com> Date: Mon Apr 10 07:58:01 2017 +0200 pad-monitor: Safely store expected seek values Protect the expected seek values with the same lock as the one that will be used to read/validate the resulting segments and flush values. Avoids races with duplicated seeks (i.e. a seek that was already sent and handled via another pad, such as in demuxers). https://bugzilla.gnome.org/show_bug.cgi?id=781112