mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
allow pad push if peer is active
Original commit message from CVS: allow pad push if peer is active
This commit is contained in:
parent
1adec99a85
commit
7731fe15a6
1 changed files with 2 additions and 2 deletions
|
@ -2327,8 +2327,8 @@ gst_pad_push (GstPad *pad, GstBuffer *buf)
|
||||||
GST_DEBUG_PAD_NAME (pad));
|
GST_DEBUG_PAD_NAME (pad));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!GST_IS_EVENT (data) && !GST_PAD_IS_ACTIVE (pad)) {
|
if (!GST_IS_EVENT (data) && !GST_PAD_IS_ACTIVE (peer)) {
|
||||||
g_warning ("push on pad %s:%s but it is not active",
|
g_warning ("push on peer of pad %s:%s but peer is not active",
|
||||||
GST_DEBUG_PAD_NAME (pad));
|
GST_DEBUG_PAD_NAME (pad));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue