basesrc: handle renegotiation correctly
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 29 Jan 2013 08:45:23 +0000 (09:45 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 29 Jan 2013 08:52:16 +0000 (09:52 +0100)
commite697254fc1de469e96127a5a92e1fd0c508a9f75
tree8dbf2d077f04444b50045a3f13ef794cdd063a7a
parentb5906cda6e03dd1d7717d204473fe7b43162e9fb
basesrc: handle renegotiation correctly

Don't retry to negotiate when we fail to negotiate but instead produce a
NOT_NEGOTIATED error. We only want to retry negotiation if the result from
gst_pad_push() returned NOT_NEGOTIATED.
libs/gst/base/gstbasesrc.c