summaryrefslogtreecommitdiff
path: root/gst/playback/test3.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-09-02 15:43:18 +0000
committerAndy Wingo <wingo@pobox.com>2005-09-02 15:43:18 +0000
commit6665c3084c168753e0103a80adb4e11e8d9b3a63 (patch)
tree68ffc36a37fa4981672c43775cfb6882088cb0ee /gst/playback/test3.c
parent66cbf07abff101ed6121aea6a11d31b4d5e39e87 (diff)
All plugins updated for element state changes.
Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
Diffstat (limited to 'gst/playback/test3.c')
-rw-r--r--gst/playback/test3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/playback/test3.c b/gst/playback/test3.c
index aaba4f65e..da2bf9f5e 100644
--- a/gst/playback/test3.c
+++ b/gst/playback/test3.c
@@ -38,7 +38,7 @@ gint
main (gint argc, gchar * argv[])
{
GstElement *player;
- GstElementStateReturn res;
+ GstStateChangeReturn res;
gst_init (&argc, &argv);
@@ -48,7 +48,7 @@ main (gint argc, gchar * argv[])
g_object_set (G_OBJECT (player), "uri", argv[1], NULL);
res = gst_element_set_state (player, GST_STATE_PLAYING);
- if (res != GST_STATE_SUCCESS) {
+ if (res != GST_STATE_CHANGE_SUCCESS) {
g_print ("could not play\n");
return -1;
}