Updated for removed methods.
authorWim Taymans <wim.taymans@gmail.com>
Sun, 27 May 2001 14:39:17 +0000 (14:39 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Sun, 27 May 2001 14:39:17 +0000 (14:39 +0000)
Original commit message from CVS:
Updated for removed methods.

examples/autoplug/autoplug.c
examples/queue/queue.c
test/mp2toavi.c
test/mp2tomp1.c
test/mpeg2parse.c
tests/old/examples/autoplug/autoplug.c
tests/old/examples/queue/queue.c

index 70ac4b7..04ce6c8 100644 (file)
@@ -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");
index 0d34a4b..7137f11 100644 (file)
@@ -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);
index fd5a7b7..99653b0 100644 (file)
@@ -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),
index 3a609f1..0c2cfc9 100644 (file)
@@ -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),
index 50aeb01..f46a86a 100644 (file)
@@ -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),
index 70ac4b7..04ce6c8 100644 (file)
@@ -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");
index 0d34a4b..7137f11 100644 (file)
@@ -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);