basetransform: fix negotiation regression
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 19 Apr 2011 23:35:04 +0000 (20:35 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 21 Apr 2011 13:04:49 +0000 (14:04 +0100)
commit0253c85b0d683b86b788c1a1c85aafff8d13a862
tree10fa3b23caa0664f63396f3f750000cf81153578
parente029aeef9ee27ca310e8f94ce6b765d0be5eafff
basetransform: fix negotiation regression

Fixup patch for 83597767b169dd6c39a07b6144a650c1f098825a

Use a separate variable for knowing if a pad alloc has been made
instead of checking for the flow return that might not be the
result of the pad alloc

https://bugzilla.gnome.org/show_bug.cgi?id=648220
libs/gst/base/gstbasetransform.c