mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
_IS_USABLE also checks for the peer pad, IS_ACTIVE is correct in this case.
Original commit message from CVS: _IS_USABLE also checks for the peer pad, IS_ACTIVE is correct in this case.
This commit is contained in:
parent
290a082d53
commit
3b210c32e6
1 changed files with 1 additions and 1 deletions
|
@ -2796,7 +2796,7 @@ gst_pad_send_event (GstPad *pad, GstEvent *event)
|
|||
rpad = GST_PAD_REALIZE (pad);
|
||||
|
||||
/* don't send events on usuable pads */
|
||||
if (GST_PAD_IS_SINK (rpad) && !GST_PAD_IS_USABLE (rpad)) {
|
||||
if (GST_PAD_IS_SINK (rpad) && !GST_PAD_IS_ACTIVE (rpad)) {
|
||||
GST_DEBUG (GST_CAT_EVENT, "pad %s:%s is not usable",
|
||||
GST_DEBUG_PAD_NAME (rpad));
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue