summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gst/gstdebugutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstdebugutils.c b/gst/gstdebugutils.c
index f83ccf083..a552cc00e 100644
--- a/gst/gstdebugutils.c
+++ b/gst/gstdebugutils.c
@@ -77,7 +77,7 @@ debug_dump_get_element_state (GstElement * element)
{
gchar *state_name = NULL;
const gchar *state_icons = "~0-=>";
- GstState state = 0, pending = 0;
+ GstState state = GST_STATE_VOID_PENDING, pending = GST_STATE_VOID_PENDING;
gst_element_get_state (element, &state, &pending, 0);
if (pending == GST_STATE_VOID_PENDING) {