diff options
author | Benjamin Otte <otte@gnome.org> | 2004-05-08 13:03:59 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2004-05-08 13:03:59 +0000 |
commit | 368d6780c2daf651058d6eb2c6e232be06b7c479 (patch) | |
tree | 8397183eed423d2afca62da7750e581498b18e74 /gst/level/gstlevel.h | |
parent | f868ebb4bcbeee46ff5ef359fe3b655f3a3f5b0e (diff) |
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 :/
Diffstat (limited to 'gst/level/gstlevel.h')
-rw-r--r-- | gst/level/gstlevel.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/level/gstlevel.h b/gst/level/gstlevel.h index 7a853771..59427c7d 100644 --- a/gst/level/gstlevel.h +++ b/gst/level/gstlevel.h @@ -54,7 +54,6 @@ struct _GstLevel { GstPad *sinkpad, *srcpad; gboolean signal; /* whether or not to emit signals */ - gboolean inited; /* whether or not the element is initialized */ gdouble interval; /* how many seconds between emits */ gint rate; /* caps variables */ |