From: Thomas Vander Stichele Date: Fri, 1 Jun 2001 22:36:04 +0000 (+0000) Subject: ok, this works now X-Git-Tag: BRANCH-GOBJECT1-ROOT~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=434d40d4c5091a24af72e09639750c9fbf023e08;p=platform%2Fupstream%2Fgstreamer.git ok, this works now Original commit message from CVS: ok, this works now --- diff --git a/tests/reconnect.c b/tests/reconnect.c index c599ddc..1434246 100644 --- a/tests/reconnect.c +++ b/tests/reconnect.c @@ -61,12 +61,14 @@ int main (int argc, char *argv[]) /* disconnect and reconnect fakesink */ + gst_element_set_state (main_bin, GST_STATE_PAUSED); g_print ("disconnecting...\n"); gst_pad_disconnect (gst_element_get_pad (fakesrc, "src"), gst_element_get_pad (fakesink, "sink")); g_print ("reconnecting...\n"); gst_pad_connect (gst_element_get_pad (fakesrc, "src"), gst_element_get_pad (fakesink, "sink")); + gst_element_set_state (main_bin, GST_STATE_PLAYING); for (i = 0; i < 5; ++i) {