summaryrefslogtreecommitdiffstats
path: root/examples/gstplay/player.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gstplay/player.c')
-rw-r--r--examples/gstplay/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c
index e0bdd413..76453785 100644
--- a/examples/gstplay/player.c
+++ b/examples/gstplay/player.c
@@ -158,7 +158,7 @@ main (int argc, char *argv[])
/* Change state to PLAYING */
if (gst_element_set_state (GST_ELEMENT (play),
- GST_STATE_PLAYING) == GST_STATE_FAILURE)
+ GST_STATE_PLAYING) == GST_STATE_CHANGE_FAILURE)
g_error ("Could not set state to PLAYING");
g_timeout_add (20000, (GSourceFunc) seek_timer, play);