playsink: Always take the playsink lock when adding or removing pad probes
authorSebastian Dröge <sebastian@centricular.com>
Tue, 20 May 2014 07:48:56 +0000 (09:48 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 May 2014 07:51:07 +0000 (09:51 +0200)
commit0760fe86255a6534ebf92cd43dd415490f8fce4a
tree4c8ddce5e448dba4eec9f1ca72175162f8b0162d
parent74e9640a22849a5eeb8eb64228d80178b4acd0a5
playsink: Always take the playsink lock when adding or removing pad probes

Otherwise we might end up inside the callback without having stored
the probe id... then try to remove that probe (not!) from the callback
and wait forever for the pad to unblock.
gst/playback/gstplaysink.c