projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d99d270
)
debugutils: use GST_STATE_VOID_PENDING for GstState instead of 0
author
Josep Torra
<n770galaxy@gmail.com>
Tue, 9 Aug 2011 21:26:13 +0000
(23:26 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Mon, 15 Aug 2011 20:13:47 +0000
(21:13 +0100)
Fixes a warning reported by ICC.
https://bugzilla.gnome.org/show_bug.cgi?id=656265
gst/gstdebugutils.c
patch
|
blob
|
history
diff --git
a/gst/gstdebugutils.c
b/gst/gstdebugutils.c
index
f83ccf0
..
a552cc0
100644
(file)
--- 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) {