mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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
This commit is contained in:
parent
d7a095654b
commit
608589ef0d
1 changed files with 1 additions and 0 deletions
|
@ -205,6 +205,7 @@ main(int argc, char *argv[])
|
||||||
gst_main ();
|
gst_main ();
|
||||||
} else {
|
} else {
|
||||||
g_print ("waiting for the state change...\n");
|
g_print ("waiting for the state change...\n");
|
||||||
|
gst_element_set_state(pipeline,GST_STATE_PLAYING);
|
||||||
gst_element_wait_state_change (pipeline);
|
gst_element_wait_state_change (pipeline);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue