diff options
author | David Schleef <ds@schleef.org> | 2003-11-19 03:46:21 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-11-19 03:46:21 +0000 |
commit | 5d592f709fcf7e474289545774c87f56abd2bd85 (patch) | |
tree | 12b0f3aa34cfef21646fcb9f6b6e123f7070caa3 /gst/level/gstlevel.h | |
parent | 5c244e8374f61481f7296c9bad5c6eb34001c4a2 (diff) |
Fix segfault in #125471 by denying a state change to PLAYING when not inited. This is arguably not the right fix.
Original commit message from CVS:
Fix segfault in #125471 by denying a state change to PLAYING when not
inited. This is arguably not the right fix.
Diffstat (limited to 'gst/level/gstlevel.h')
-rw-r--r-- | gst/level/gstlevel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/level/gstlevel.h b/gst/level/gstlevel.h index 59427c7d..7a853771 100644 --- a/gst/level/gstlevel.h +++ b/gst/level/gstlevel.h @@ -54,6 +54,7 @@ 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 */ |