diff --git a/examples/autoplug/autoplug.c b/examples/autoplug/autoplug.c index 70ac4b7a2b..04ce6c83d8 100644 --- a/examples/autoplug/autoplug.c +++ b/examples/autoplug/autoplug.c @@ -38,6 +38,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline) /* and an video sink */ videosink = gst_elementfactory_make("xvideosink", "play_video"); + //videosink = gst_elementfactory_make("aasink", "play_video"); g_assert(videosink != NULL); autoplug = gst_autoplugfactory_make ("staticrender"); diff --git a/examples/queue/queue.c b/examples/queue/queue.c index 0d34a4bf96..7137f114b3 100644 --- a/examples/queue/queue.c +++ b/examples/queue/queue.c @@ -36,8 +36,6 @@ int main(int argc,char *argv[]) osssink = gst_elementfactory_make("osssink", "play_audio"); g_assert(osssink != NULL); - gst_bin_use_cothreads (GST_BIN (bin), TRUE); - /* add objects to the main pipeline */ gst_bin_add(GST_BIN(bin), disksrc); gst_bin_add(GST_BIN(bin), parse); diff --git a/test/mp2toavi.c b/test/mp2toavi.c index fd5a7b7e82..99653b0bfb 100644 --- a/test/mp2toavi.c +++ b/test/mp2toavi.c @@ -189,7 +189,6 @@ void mp2tomp1(GstElement *parser,GstPad *pad, GstElement *pipeline) { gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(smooth)); gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(videoscale)); gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(encode)); - gst_bin_use_cothreads(GST_BIN(video_thread), FALSE); // set up pad connections gst_element_add_ghost_pad(GST_ELEMENT(video_thread), diff --git a/test/mp2tomp1.c b/test/mp2tomp1.c index 3a609f1162..0c2cfc9cda 100644 --- a/test/mp2tomp1.c +++ b/test/mp2tomp1.c @@ -173,7 +173,6 @@ mp2tomp1 (GstElement *parser, GstPad *pad, GstElement *pipeline) gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(smooth)); gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(videoscale)); gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(encode)); - gst_bin_use_cothreads(GST_BIN(video_thread), FALSE); // set up pad connections gst_element_add_ghost_pad(GST_ELEMENT(video_thread), diff --git a/test/mpeg2parse.c b/test/mpeg2parse.c index 50aeb0162c..f46a86a6bf 100644 --- a/test/mpeg2parse.c +++ b/test/mpeg2parse.c @@ -141,7 +141,6 @@ void mpeg2parse_newpad(GstElement *parser,GstPad *pad, GstElement *pipeline) { gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(decode_video)); gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(merge_subtitles)); gst_bin_add(GST_BIN(video_thread),GST_ELEMENT(show)); - gst_bin_use_cothreads(GST_BIN(video_thread), FALSE); // set up pad connections gst_element_add_ghost_pad(GST_ELEMENT(video_thread), diff --git a/tests/old/examples/autoplug/autoplug.c b/tests/old/examples/autoplug/autoplug.c index 70ac4b7a2b..04ce6c83d8 100644 --- a/tests/old/examples/autoplug/autoplug.c +++ b/tests/old/examples/autoplug/autoplug.c @@ -38,6 +38,7 @@ gst_play_have_type (GstElement *typefind, GstCaps *caps, GstElement *pipeline) /* and an video sink */ videosink = gst_elementfactory_make("xvideosink", "play_video"); + //videosink = gst_elementfactory_make("aasink", "play_video"); g_assert(videosink != NULL); autoplug = gst_autoplugfactory_make ("staticrender"); diff --git a/tests/old/examples/queue/queue.c b/tests/old/examples/queue/queue.c index 0d34a4bf96..7137f114b3 100644 --- a/tests/old/examples/queue/queue.c +++ b/tests/old/examples/queue/queue.c @@ -36,8 +36,6 @@ int main(int argc,char *argv[]) osssink = gst_elementfactory_make("osssink", "play_audio"); g_assert(osssink != NULL); - gst_bin_use_cothreads (GST_BIN (bin), TRUE); - /* add objects to the main pipeline */ gst_bin_add(GST_BIN(bin), disksrc); gst_bin_add(GST_BIN(bin), parse);