mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
Revert "ghostpad: Do nothing in _internal_activate_push_default"
That commit would break scheduling reconfiguration with ghostpads
This reverts commit ab55ad7eaa
.
This commit is contained in:
parent
8ae671cf1d
commit
899060d579
1 changed files with 13 additions and 1 deletions
|
@ -277,7 +277,19 @@ static gboolean
|
|||
gst_ghost_pad_internal_activate_push_default (GstPad * pad, GstObject * parent,
|
||||
gboolean active)
|
||||
{
|
||||
return TRUE;
|
||||
gboolean ret;
|
||||
GstPad *other;
|
||||
|
||||
GST_LOG_OBJECT (pad, "%sactivate push on %s:%s, we're ok",
|
||||
(active ? "" : "de"), GST_DEBUG_PAD_NAME (pad));
|
||||
|
||||
/* in both cases (SRC and SINK) we activate just the internal pad. The targets
|
||||
* will be activated later (or already in case of a ghost sinkpad). */
|
||||
GST_PROXY_PAD_ACQUIRE_INTERNAL (pad, other, FALSE);
|
||||
ret = gst_pad_activate_mode (other, GST_PAD_MODE_PUSH, active);
|
||||
GST_PROXY_PAD_RELEASE_INTERNAL (other);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
Loading…
Reference in a new issue