From 608589ef0d265b6a44e8300605f872d358efa156 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Tue, 28 May 2002 14:42:22 +0000 Subject: [PATCH] this seems to be needed when doing a pipeline like -launch { foo ! bar } Original commit message from CVS: this seems to be needed when doing a pipeline like -launch { foo ! bar } Now you can run: gst-launch --gst-mask=-1 { fakesrc ! fakesink } to see what seems to be a double locking problem --- tools/gst-launch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 426eeae24b..2d419c4551 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -205,6 +205,7 @@ main(int argc, char *argv[]) gst_main (); } else { g_print ("waiting for the state change...\n"); + gst_element_set_state(pipeline,GST_STATE_PLAYING); gst_element_wait_state_change (pipeline); }