mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-27 09:38:17 +00:00
Fixed some leftover fixes
Original commit message from CVS: Fixed some leftover fixes
This commit is contained in:
parent
ad8ce18716
commit
694779a8bb
2 changed files with 13 additions and 20 deletions
|
@ -209,11 +209,7 @@ gst_arts_loop (GstElement *element)
|
||||||
|
|
||||||
g_return_if_fail (arts != NULL);
|
g_return_if_fail (arts != NULL);
|
||||||
|
|
||||||
// do {
|
|
||||||
|
|
||||||
gst_arts_wrapper_do(arts->wrapper);
|
gst_arts_wrapper_do(arts->wrapper);
|
||||||
|
|
||||||
// } while (!GST_ELEMENT_IS_COTHREAD_STOPPING (element));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -640,26 +640,23 @@ gst_ladspa_loop (GstElement *element)
|
||||||
LADSPA_Descriptor *desc;
|
LADSPA_Descriptor *desc;
|
||||||
|
|
||||||
desc = ladspa->descriptor;
|
desc = ladspa->descriptor;
|
||||||
do {
|
printf("looping something\n");
|
||||||
printf("looping something\n");
|
|
||||||
|
|
||||||
// first get all the necessary data from the input ports
|
// first get all the necessary data from the input ports
|
||||||
for (i=0;i<oclass->numsinkpads;i++){
|
for (i=0;i<oclass->numsinkpads;i++){
|
||||||
ladspa->buffers[i] = gst_pad_pull(ladspa->sinkpads[i]);
|
ladspa->buffers[i] = gst_pad_pull(ladspa->sinkpads[i]);
|
||||||
printf("pulling buffer %d\n", i);
|
printf("pulling buffer %d\n", i);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i=0;i<oclass->numsinkpads;i++) {
|
for (i=0;i<oclass->numsinkpads;i++) {
|
||||||
// desc->connect_port(ladspa->handle,i,&(ladspa->controls[i]));
|
// desc->connect_port(ladspa->handle,i,&(ladspa->controls[i]));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i=0;i<oclass->numsrcpads && i<oclass->numsinkpads;i++){
|
for (i=0;i<oclass->numsrcpads && i<oclass->numsinkpads;i++){
|
||||||
printf("pushing buffer %d\n", i);
|
printf("pushing buffer %d\n", i);
|
||||||
gst_pad_push (ladspa->srcpads[i], ladspa->buffers[i]);
|
gst_pad_push (ladspa->srcpads[i], ladspa->buffers[i]);
|
||||||
ladspa->buffers[i] = NULL;
|
ladspa->buffers[i] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
} while (!GST_ELEMENT_IS_COTHREAD_STOPPING (element));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue