From 9fcb8430cd3ac57d53ba9aba2410c618c51075d4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Sun, 27 May 2001 14:39:17 +0000 Subject: [PATCH] Updated for removed methods. Original commit message from CVS: Updated for removed methods. --- examples/autoplug/autoplug.c | 1 + examples/queue/queue.c | 2 -- test/mp2toavi.c | 1 - test/mp2tomp1.c | 1 - test/mpeg2parse.c | 1 - tests/old/examples/autoplug/autoplug.c | 1 + tests/old/examples/queue/queue.c | 2 -- 7 files changed, 2 insertions(+), 7 deletions(-) diff --git a/examples/autoplug/autoplug.c b/examples/autoplug/autoplug.c index 70ac4b7..04ce6c8 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 0d34a4b..7137f11 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 fd5a7b7..99653b0 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 3a609f1..0c2cfc9 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 50aeb01..f46a86a 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 70ac4b7..04ce6c8 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 0d34a4b..7137f11 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); -- 2.7.4