From f7d73c91b2cbd37944e9fede263428cee626497a Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 8 Dec 2002 20:08:39 +0000 Subject: [PATCH] ASYNC state changes are not an error. Original commit message from CVS: ASYNC state changes are not an error. --- tools/gst-launch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 86fc483d93..f0a94123e8 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -236,7 +236,7 @@ main(int argc, char *argv[]) gst_event_print_stats(); fprintf(stderr,"RUNNING pipeline\n"); - if (gst_element_set_state (pipeline, GST_STATE_PLAYING) != GST_STATE_SUCCESS) { + if (gst_element_set_state (pipeline, GST_STATE_PLAYING) == GST_STATE_FAILURE) { fprintf(stderr,"pipeline doesn't want to play\n"); res = -1; goto end;