mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
debugutils: use GST_STATE_VOID_PENDING for GstState instead of 0
Fixes a warning reported by ICC. https://bugzilla.gnome.org/show_bug.cgi?id=656265
This commit is contained in:
parent
d99d270a69
commit
b30b78c505
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue