basesrc: remove negotiation from the state change
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Aug 2011 14:56:42 +0000 (16:56 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 4 Aug 2011 14:56:42 +0000 (16:56 +0200)
commit6bae6b825318b8afb91d78b454e70e66dd6b6fe6
tree1bfbf2f3a25f050ed076275ec5dda4bc781a4621
parentfd75c1263162ad4c35027bd96cf67495535f8c83
basesrc: remove negotiation from the state change

Remove the negotiation from the state change function, it causes data transfer
and bufferpool negotiation, which is not supposed to be done. Since we have the
reconfigure state on the pad, the create function will do the negotiation as
soon as it gets in the streaming thread.
libs/gst/base/gstbasesrc.c