From 7ebd7b97d480d4047051c29ad5213791b7620f6c Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 2 Sep 2005 15:44:50 +0000 Subject: All plugins updated for element state changes. Original commit message from CVS: 2005-09-02 Andy Wingo * All plugins updated for element state changes. --- examples/gstplay/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gstplay') 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); -- cgit