mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
bin: let the pad clean up in activate
This commit is contained in:
parent
3d949e988b
commit
dcc5570f7f
1 changed files with 0 additions and 2 deletions
|
@ -2237,8 +2237,6 @@ activate_pads (const GValue * vpad, GValue * ret, gboolean * active)
|
|||
|
||||
if (!(cont = gst_pad_set_active (pad, *active)))
|
||||
g_value_set_boolean (ret, FALSE);
|
||||
else if (!*active)
|
||||
gst_pad_set_caps (pad, NULL);
|
||||
|
||||
/* unref the object that was reffed for us by _fold */
|
||||
return cont;
|
||||
|
|
Loading…
Reference in a new issue