From d61133baa4bf855d16c9566e4ec229d17d381568 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 2 Sep 2005 15:43:14 +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. --- tests/check/elements/audioresample.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/check/elements') diff --git a/tests/check/elements/audioresample.c b/tests/check/elements/audioresample.c index dd87b614..29724338 100644 --- a/tests/check/elements/audioresample.c +++ b/tests/check/elements/audioresample.c @@ -151,7 +151,8 @@ test_perfect_stream_instance (int inrate, int outrate, int samples, fail_unless (gst_caps_is_fixed (caps)); fail_unless (gst_element_set_state (audioresample, - GST_STATE_PLAYING) == GST_STATE_SUCCESS, "could not set to playing"); + GST_STATE_PLAYING) == GST_STATE_CHANGE_SUCCESS, + "could not set to playing"); for (j = 1; j <= numbuffers; ++j) { -- cgit v1.2.1