gst/level/gstlevel.*: figure out if we're initialized directly instead of keeping...
authorBenjamin Otte <otte@gnome.org>
Sat, 8 May 2004 13:03:59 +0000 (13:03 +0000)
committerBenjamin Otte <otte@gnome.org>
Sat, 8 May 2004 13:03:59 +0000 (13:03 +0000)
commitf79bab2955261f5fd64fe9a07046abda84d93f71
tree3cf2451acdc5d2d87058fcb37612870ba2c23f7b
parent935969b8c11316ce18d631a7c3039b442ffb9549
gst/level/gstlevel.*: figure out if we're initialized directly instead of keeping a variable that's wrong in 90% of c...

Original commit message from CVS:
* gst/level/gstlevel.c: (gst_level_link), (gst_level_chain),
(gst_level_change_state), (gst_level_init):
* gst/level/gstlevel.h:
figure out if we're initialized directly instead of keeping a
variable that's wrong in 90% of cases
don't initialize pads and then leak them and use a new unitialized
pad. (fixes #142084)
these were bugs so n00bish I didn't find them for an hour :/
ChangeLog