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)
commit368d6780c2daf651058d6eb2c6e232be06b7c479
tree8397183eed423d2afca62da7750e581498b18e74
parentf868ebb4bcbeee46ff5ef359fe3b655f3a3f5b0e
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
gst/level/gstlevel.c
gst/level/gstlevel.h