mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
Updated for remove methods.
Original commit message from CVS: Updated for remove methods.
This commit is contained in:
parent
b93de9e922
commit
5b436ccbe1
2 changed files with 0 additions and 2 deletions
|
@ -73,7 +73,6 @@ int main(int argc,char *argv[]) {
|
|||
gst_element_connect(src,"src",lame,"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);
|
||||
if (GST_STATE(src) != GST_STATE_PLAYING) fprintf(stderr,"error: state not set\n");
|
||||
|
|
|
@ -26,7 +26,6 @@ int main(int argc,char *argv[]) {
|
|||
|
||||
pipeline = gst_pipeline_new("ripper");
|
||||
g_return_val_if_fail(pipeline != NULL,1);
|
||||
gst_bin_use_cothreads(GST_BIN(pipeline),TRUE);
|
||||
|
||||
paranoia = gst_elementfactory_make("cdparanoia","paranoia");
|
||||
g_return_val_if_fail(paranoia != NULL,2);
|
||||
|
|
Loading…
Reference in a new issue