gst/gstpad.c (gst_pad_activate_push): There is a race condition whereby calling a...
authorAndy Wingo <wingo@pobox.com>
Sun, 2 Oct 2005 23:24:25 +0000 (23:24 +0000)
committerAndy Wingo <wingo@pobox.com>
Sun, 2 Oct 2005 23:24:25 +0000 (23:24 +0000)
commit60f3c2b5412b5c742a84e9a9b0f9fc55adcf5c7d
treea35111e97266828c46acff4cd6e0a25f97d21f5e
parent7b469c4368ea6e06326a3a2e0e77a3fcfdef42f1
gst/gstpad.c (gst_pad_activate_push): There is a race condition whereby calling a pad's activatepush() function can s...

Original commit message from CVS:
2005-10-03  Andy Wingo  <wingo@pobox.com>

* gst/gstpad.c (gst_pad_activate_push): There is a race condition
whereby calling a pad's activatepush() function can start a thread
that starts to push or pull before the pad gets the FLUSHING flag
unset. Hack around it by holding the stream lock until the flag is
set. Need to replace this with a proper solution. Together with
the ghost pad fixes, this fixes mp3 playing/tagreading.
ChangeLog
gst/gstpad.c