mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
gst/gstpad.c: Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
Original commit message from CVS: * gst/gstpad.c: (handle_pad_block): Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
This commit is contained in:
parent
563477a64e
commit
3b80a92550
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-02 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/gstpad.c: (handle_pad_block):
|
||||
Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
|
||||
|
||||
2005-11-02 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/gstbin.c:
|
||||
|
|
|
@ -2981,6 +2981,8 @@ handle_pad_block (GstPad * pad)
|
|||
}
|
||||
|
||||
while (GST_PAD_IS_BLOCKED (pad)) {
|
||||
if (GST_PAD_IS_FLUSHING (pad))
|
||||
goto flushing;
|
||||
GST_PAD_BLOCK_WAIT (pad);
|
||||
if (GST_PAD_IS_FLUSHING (pad))
|
||||
goto flushing;
|
||||
|
|
Loading…
Reference in a new issue