pad: Fix race condition causing the same probe to be called multiple times
authorSebastian Dröge <sebastian@centricular.com>
Wed, 9 May 2018 21:05:51 +0000 (00:05 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 11 May 2018 15:54:55 +0000 (18:54 +0300)
commit13d5957fd7da6859fde38c80230051de9e8bb320
treee43f39f5876ff34f9e59c5d9096b90eb93c24544
parent80dfb7bb3f415dac465f89f8945a1546c4fcc280
pad: Fix race condition causing the same probe to be called multiple times

Probes were remembering a cookie that was used to check if the probe was
already called this time before the probes list changed. However the
same probes could've been called by another thread in between and thus
gotten a new cookie, and would then be called a second time.

https://bugzilla.gnome.org/show_bug.cgi?id=795987
gst/gstpad.c