diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-06-12 20:00:00 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2009-06-12 20:00:00 +0200 |
commit | c303c915171cd442b629726402d19f60e809654a (patch) | |
tree | e81a4206b2a78933aae247f42d1c4cd6cd4728db /gnl/gnloperation.c | |
parent | 21af213d53a9bbacaae0309c11b51168797721f4 (diff) |
gnloperation: Don't forget to lower the pad count when removing one.
Diffstat (limited to 'gnl/gnloperation.c')
-rw-r--r-- | gnl/gnloperation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnl/gnloperation.c b/gnl/gnloperation.c index 3c81284..8b6eb8b 100644 --- a/gnl/gnloperation.c +++ b/gnl/gnloperation.c @@ -649,6 +649,7 @@ remove_sink_pad (GnlOperation * operation, GstPad * sinkpad) gst_element_release_request_pad (operation->element, target); operation->sinks = g_list_remove (operation->sinks, sinkpad); gnl_object_remove_ghost_pad ((GnlObject *) operation, sinkpad); + operation->realsinks--; } beach: |