summaryrefslogtreecommitdiffstats
path: root/tests/check/elements/audioresample.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-09-02 15:43:14 +0000
committerAndy Wingo <wingo@pobox.com>2005-09-02 15:43:14 +0000
commitd61133baa4bf855d16c9566e4ec229d17d381568 (patch)
treeacce3bdfb64a3d8c5163814a6c75c4abc05dce70 /tests/check/elements/audioresample.c
parent0df85b052809625cebd94dc5c678a6f606eebb6a (diff)
downloadgst-plugins-bad-d61133baa4bf855d16c9566e4ec229d17d381568.tar.gz
gst-plugins-bad-d61133baa4bf855d16c9566e4ec229d17d381568.tar.bz2
gst-plugins-bad-d61133baa4bf855d16c9566e4ec229d17d381568.zip
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 'tests/check/elements/audioresample.c')
-rw-r--r--tests/check/elements/audioresample.c3
1 files changed, 2 insertions, 1 deletions
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) {