Updated for remove methods.

Original commit message from CVS:
Updated for remove methods.
This commit is contained in:
Wim Taymans 2001-05-27 14:38:43 +00:00
parent b93de9e922
commit 5b436ccbe1
2 changed files with 0 additions and 2 deletions

View file

@ -73,7 +73,6 @@ int main(int argc,char *argv[]) {
gst_element_connect(src,"src",lame,"sink"); gst_element_connect(src,"src",lame,"sink");
gst_element_connect(lame,"src",sink,"sink"); gst_element_connect(lame,"src",sink,"sink");
gst_bin_use_cothreads(GST_BIN(pipeline),TRUE);
gst_element_set_state(GST_ELEMENT(pipeline),GST_STATE_PLAYING); gst_element_set_state(GST_ELEMENT(pipeline),GST_STATE_PLAYING);
if (GST_STATE(src) != GST_STATE_PLAYING) fprintf(stderr,"error: state not set\n"); if (GST_STATE(src) != GST_STATE_PLAYING) fprintf(stderr,"error: state not set\n");

View file

@ -26,7 +26,6 @@ int main(int argc,char *argv[]) {
pipeline = gst_pipeline_new("ripper"); pipeline = gst_pipeline_new("ripper");
g_return_val_if_fail(pipeline != NULL,1); g_return_val_if_fail(pipeline != NULL,1);
gst_bin_use_cothreads(GST_BIN(pipeline),TRUE);
paranoia = gst_elementfactory_make("cdparanoia","paranoia"); paranoia = gst_elementfactory_make("cdparanoia","paranoia");
g_return_val_if_fail(paranoia != NULL,2); g_return_val_if_fail(paranoia != NULL,2);