gst/: Fix refcounting in utils function.
authorWim Taymans <wim.taymans@gmail.com>
Wed, 11 May 2005 09:21:24 +0000 (09:21 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Wed, 11 May 2005 09:21:24 +0000 (09:21 +0000)
commitc9aaf4663f1db3110dce9e4a1d5de7d02a5e8972
tree71d6728f052be59ff43ae99f38f648e43f401ec8
parente44beb9f04406f8967138528881a583f5d8ff25b
gst/: Fix refcounting in utils function.

Original commit message from CVS:
* gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
* gst/gstutils.c: (gst_element_get_compatible_pad_template),
(gst_element_link_pads), (gst_element_query_position),
(gst_element_query_convert), (intersect_caps_func),
(gst_pad_query_position), (gst_pad_query_convert):
Fix refcounting in utils function.
No point in trying to activate a pad when it's added, it could
be added from the state change function and then we deadlock, the
element has to decide what to do.
ChangeLog
gst/gstelement.c
gst/gstutils.c